hed-typescript API
    Preparing search index...

    Function parseRelativePath

    • Split a relative BIDS path ('/' separators) into its parts, as POSIX path.parse gives them.

      Parameters

      • relativePath: string

        The relative path of a file.

      Returns { base: string; dir: string; name: string }

      The directory ('' at the top level), the file name, and the file name without its extension.