/// <summary> /// Gets the root directory entry for a volume in a file system. /// </summary> /// <param name="aFS">The file system containing the volume.</param> /// <returns>A directory entry for the volume.</returns> private DirectoryEntry GetVolume(FileSystem aFS) { Global.mFileSystemDebugger.SendInternal("--- CosmosVFS.GetVolume ---"); if (aFS == null) { Global.mFileSystemDebugger.SendInternal("File system is null."); throw new ArgumentNullException(nameof(aFS)); } return(aFS.GetRootDirectory()); }
private DirectoryEntry GetVolume(FileSystem aFS) { return aFS.GetRootDirectory(); }
/// <summary> /// Gets the root directory entry for a volume in a file system. /// </summary> /// <param name="aFS">The file system containing the volume.</param> /// <returns>A directory entry for the volume.</returns> private DirectoryEntry GetVolume(FileSystem aFS) { Global.mFileSystemDebugger.SendInternal("CosmosVFS.GetVolume:"); if (aFS == null) { Global.mFileSystemDebugger.SendInternal("File system is null."); throw new ArgumentNullException(nameof(aFS)); } return aFS.GetRootDirectory(); }
public Directory GetVolume(Cosmos.System.FileSystem.FileSystem filesystem, string name) { return(filesystem.GetRootDirectory(name)); }
private DirectoryEntry GetVolume(FileSystem aFS) { return(aFS.GetRootDirectory()); }