Esempio n. 1
0
 public FileFingerprint(string fullFilePath, DateTime lastModifiedUtc, BlobFingerprint fingerprint, bool wasCached)
 {
     Fingerprint     = fingerprint ?? throw new ArgumentNullException(nameof(fingerprint));
     WasCached       = wasCached;
     FullFilePath    = fullFilePath ?? throw new ArgumentNullException(nameof(fullFilePath));
     LastModifiedUtc = lastModifiedUtc;
 }
Esempio n. 2
0
 public static string S3ETag(this BlobFingerprint fingerprint)
 {
     return(S3Util.ComputeS3Etag(fingerprint.Md5));
 }
Esempio n. 3
0
 public static string Key(this BlobFingerprint fingerprint)
 {
     return(S3Util.S3EncodeKey(fingerprint.Sha3_512));
 }