aQute.bnd.service.repository
Interface RepositoryDigest


public interface RepositoryDigest


Method Summary
 byte[] getDigest()
          Return a SHA-1 for the collection.
 

Method Detail

getDigest

byte[] getDigest()
Return a SHA-1 for the collection. This sha is calculated as follows: 1) If there is a single file, return its sha 2) Otherwise, create a set (skipping duplicates) of all shas, sort them, and then create the sha of this file.



Copyright © 2014 aQute SARL. All rights reserved.