public IFileSystem LoadFileSystem(FileBucketMeta meta) { IFileSystem fileSystem; if (!_fileSystemsCache.TryGetValue(meta.BucketId, out fileSystem)) { fileSystem = new LocalFileSystem(meta.Config["BaseVirtualPath"]); _fileSystemsCache.TryAdd(meta.BucketId, fileSystem); } return fileSystem; }
protected LocalFileSystemEntry(FileSystemInfo fileSystemInfo, LocalFileSystem fileSystem) { FileSystemInfo = fileSystemInfo; FileSystem = fileSystem; }
public LocalFile(FileInfo file, LocalFileSystem fileSystem) : base(file, fileSystem) { }
public LocalDirectory(DirectoryInfo directory, LocalFileSystem fileSystem) : base(directory, fileSystem) { }