mise API - v0.0.0
    Preparing search index...

    Class PacsVfsProvider

    Virtual PACS Search results VFS provider.

    Implements

    Index
    prefix: string = "/net/pacs"

    Prefix matches /net/pacs and subdirectories.

    • Copies files or folders from/to paths under this provider.

      Parameters

      • src: string

        The absolute source path.

      • dest: string

        The absolute destination path.

      • _options: CpOptions

        Copy flags like recursive.

      Returns Promise<VfsOutcome>

      Done, or why not.

    • Fetches the decoded query result, leveraging a cache to prevent redundant API calls.

      Public so a verb that reads one series' facts out of an answer the operator just listed (gather add) takes them from this cache rather than asking CUBE again.

      Parameters

      • queryId: number

        The ID of the PACS query to decode.

      Returns Promise<PACSQueryDecodedResult | null>

      Promise resolving to the decoded PACS query result, or null if fetch fails.

    • Reads a file whole, as text.

      Parameters

      • pathStr: string

        The absolute path of the file.

      Returns Promise<VfsOutcome<string>>

      Its content, or why not (ENOENT, EISDIR, ...).

    • Reads a file whole, as bytes.

      Parameters

      • pathStr: string

        The absolute path of the file.

      Returns Promise<VfsOutcome<Buffer<ArrayBufferLike>>>

      Its bytes, or why not.