@photostructure/fs-metadata
    Preparing search index...

    Function getVolumeMetadata

    • Get metadata for the volume at the given mount point.

      timeoutMs bounds the complete caller-visible operation on every platform. It does not guarantee cancellation of a filesystem request already blocked inside the operating system.

      Parameters

      • mountPoint: string

        Must be a non-blank string. On Linux, this may be a file that is itself a mount target.

      • Optionalopts: Partial<
            Pick<
                Options,
                | "includeZfsGuids"
                | "timeoutMs"
                | "linuxMountTablePaths"
                | "networkFsTypes"
                | "skipNetworkVolumes",
            >,
        >

        Optional filesystem operation settings, including Options.skipNetworkVolumes to avoid blocking on unreachable network volumes

      Returns Promise<VolumeMetadata>