string GetCachedArtifactsFile(CacheEntry entry)
        {
            string finalHash = HashingMethods.Calculate(entry.Hash, m_GlobalHash).ToString();

            return(string.Format("{0}/{1}_{2}.sbpGz", k_CachePath, entry.Guid.ToString(), finalHash));
        }
Esempio n. 2
0
 string GetCachedArtifactsFile(CacheEntry entry)
 {
     return(string.Format("{0}/{1}_{2}.sbpGz", k_CachePath, entry.Guid.ToString(), entry.Hash.ToString()));
 }
Esempio n. 3
0
        /// <inheritdoc />
        public string GetCachedArtifactsDirectory(CacheEntry entry)
        {
            var guid = entry.Guid.ToString();

            return(string.Format("{0}/{1}/{2}/{3}", k_CachePath, guid.Substring(0, 2), guid, entry.Hash.ToString()));
        }
Esempio n. 4
0
 string GetCachedInfoFile(CacheEntry entry)
 {
     return(string.Format("{0}/{1}_{2}.info", k_CachePath, entry.Guid.ToString(), entry.Hash.ToString()));
 }
Esempio n. 5
0
        /// <inheritdoc />
        public string GetCachedInfoFile(CacheEntry entry)
        {
            var guid = entry.Guid.ToString();

            return(string.Format("{0}/{1}/{2}/{2}_{3}.info", k_CachePath, guid.Substring(0, 2), guid, entry.Hash.ToString()));
        }