Skip to content

listDirs

listDirs(pathRaw, ceiling): DirListing

Defined in: src/dirs.ts:57

List the immediate sub-directories of pathRaw for the root-directory browser, confined to ceiling (the immutable repo-root ceiling). Read-only.

The listing can never escape the ceiling: empty/invalid input or any target that resolves outside the ceiling is clamped back to the ceiling itself, and parent is null at the ceiling (its real parent is never exposed). Entries that resolve outside the ceiling (e.g. symlinks pointing out) are dropped.

string

string

DirListing