C# Class Mosa.FileSystem.VFS.PathResolver

Implements path resolution functionality for the Mosa.VFS.VirtualFileSystem.
Show file Open project: tgiphil/MOSA-Project Class Usage Examples

Public Methods

Method Description
Resolve ( DirectoryEntry rootDirectory, string &path ) : DirectoryEntry

Performs a standard path lookup.

This call my result in other exceptions not specified in the above list. Other exceptions can be thrown by IVfsNode implementations, which are visited during the traversal process. For example a network file system node may throw an exception, if the server is unreachable.

Resolve ( DirectoryEntry rootDirectory, string &path, PathResolutionFlags flags ) : DirectoryEntry

Performs a path lookup obeying to the passed flags.

This call my result in other exceptions not specified in the above list. Other exceptions can be thrown by IVfsNode implementations, which are visited during the traversal process. For example a network file system node may throw an exception, if the server is unreachable.

Private Methods

Method Description
PathResolver ( DirectoryEntry rootDirectory, DirectoryEntry currentDirectory )
Resolve ( string &path, PathResolutionFlags flags ) : DirectoryEntry

Performs an iterative lookup of the given path starting from the root and obeying to the specified flags.

This call may result in other exceptions not specified in the above list. Other exceptions can be thrown by IVfsNode implementations, which are visited during the traversal process. For example a network file system node may throw an exception, if the server is unreachable.

Method Details

Resolve() public static method

Performs a standard path lookup.
This call my result in other exceptions not specified in the above list. Other exceptions can be thrown by IVfsNode implementations, which are visited during the traversal process. For example a network file system node may throw an exception, if the server is unreachable.
public static Resolve ( DirectoryEntry rootDirectory, string &path ) : DirectoryEntry
rootDirectory DirectoryEntry The root directory.
path string The path to resolve.
return DirectoryEntry

Resolve() public static method

Performs a path lookup obeying to the passed flags.
This call my result in other exceptions not specified in the above list. Other exceptions can be thrown by IVfsNode implementations, which are visited during the traversal process. For example a network file system node may throw an exception, if the server is unreachable.
public static Resolve ( DirectoryEntry rootDirectory, string &path, PathResolutionFlags flags ) : DirectoryEntry
rootDirectory DirectoryEntry The root directory.
path string The path to resolve.
flags PathResolutionFlags Controls aspects of the path lookup process.
return DirectoryEntry