public byte[] GetPathLocation(AbsolutePath path) { string rootPath = PathUtilities.GetRootPath(path); return(Encoding.Default.GetBytes(rootPath.ToCharArray())); }
public virtual AbsolutePath GeneratePath(ContentHash contentHash, byte[] contentLocationIdContent) { string rootPath = new string(Encoding.Default.GetChars(contentLocationIdContent)); return(PathUtilities.GetContentPath(rootPath, contentHash)); }