hammerspoon2-docs
    Preparing search index...

    Function listRecursive

    • Recursively list all entries under a directory. Returns paths relative to path, sorted alphabetically.

      Parameters

      • path: string

        Path to the root directory. ~ is expanded.

      Returns string[] | null

      Sorted array of relative paths, or null if the path cannot be read.