コード例 #1
0
        private FileSystemRepositorySettings GetSettings()
        {
            var ret = new FileSystemRepositorySettings(this.Location)
            {
                Compress = this.Compress
            };

            if (!String.IsNullOrWhiteSpace(this.ChunkSize))
            {
                ret.ChunkSize = this.ChunkSize;
            }

            return(ret);
        }
コード例 #2
0
 public FileSystemRepository(FileSystemRepositorySettings settings) => Settings = settings;