Constructors

Properties

db: null | IDBDatabase = null
fileSystem: {
    root: Directory;
}

Type declaration

Methods

  • Returns Promise<void>

  • Parameters

    • path: string

    Returns Promise<boolean>

  • Parameters

    • path: string

    Returns Promise<void>

  • Parameters

    • dbName: string = 'virtualfs'

    Returns Promise<default>

  • Parameters

    • path: string

    Returns Promise<void>

  • Parameters

    • path: string

    Returns Promise<{
        current: Directory | File;
        parts: string[];
    }>

  • Parameters

    • path: string

    Returns Promise<{
        current: Directory;
        filename: string;
        parts: string[];
    }>

  • Returns Promise<{
        root: Directory;
    }>

  • Parameters

    • path: string

    Returns Promise<Buffer>

  • Parameters

    • path: string

    Returns Promise<string[]>

  • Parameters

    • oldPath: string
    • newPath: string

    Returns Promise<void>

  • Parameters

    • path: string

    Returns Promise<void>

  • Returns Promise<void>

  • Parameters

    • path: string

    Returns Promise<Stats>

  • Parameters

    • path: string

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • path: string
    • content: string | Buffer

    Returns Promise<void>

Generated using TypeDoc