hammerspoon2-docs
    Preparing search index...

    Function pathToAbsolute

    • Resolve a path to its absolute, canonical form. Expands ~, resolves . and .., and follows all symbolic links. Returns null if any component of the path does not exist.

      Parameters

      • path: string

        Path to resolve.

      Returns string | null

      Absolute canonical path, or null if it cannot be resolved.