Interface FsManager

File system CRUD operations.

interface FsManager {
    File(uri: string): File;
    resolve(uri: string, path: string): string;
}

Methods

Methods

  • Creates a new File instance.

    Parameters

    • uri: string

      The URI that points to the file on the file system.

    Returns File

  • Concatenates URI and relative path.

    Parameters

    • uri: string

      The base URI.

    • path: string

      The relative path to concatenate.

    Returns string

    The concatenated URI.