ndn6-file-server client wrapped as ZenFS backend.

This backend only supports async operations.

Hierarchy

  • {} & {} & FileSystem<this>
    • NDNFileSystem

Constructors

Methods

  • Get metadata about the current file system

    Returns FileSystemMetadata

  • Opens the file at path with the given flag. The file must exist.

    Parameters

    • path: string

      The path to open.

    • flag: string

      The flag to use when opening the file.

    Returns Promise<File>

  • Asynchronous readdir. Reads the contents of a directory.

    Parameters

    • path: string

    Returns Promise<string[]>

  • Asynchronous stat.

    Parameters

    • path: string

    Returns Promise<Stats>