hammerspoon2-docs
    Preparing search index...

    Function volumes

    • Return information about all currently mounted filesystem volumes.

      Parameters

      • OptionalshowHidden: boolean

        Pass true to include hidden volumes. Defaults to false.

      Returns Record<string, HSVolumeInfo> | null

      The volumes, keyed by mount path, or null on failure.