private static IFileSystem CreateViewFileSystem(string scheme, IDirectory root, FileSystemOptions options, Configuration config) { if (scheme.IsNullOrEmpty()) { throw new ArgumentException(String.Empty, "scheme"); } if (config != null) { options = options.CreateWithAdditionalConfig(config); } var fileSystem = root.CreateView(scheme, options); return(fileSystem); }
private static IFileSystem CreateViewFileSystem(string scheme, IDirectory root, FileSystemOptions options, Configuration config) { if (scheme.IsNullOrEmpty()) { throw new ArgumentException(String.Empty, "scheme"); } if (config != null) { options = options.CreateWithAdditionalConfig(config); } var fileSystem = root.CreateView(scheme, options); return fileSystem; }