Skip to main content

Module workspace

Module workspace 

Source
Expand description

Read-only access confined to a project root.

Every path is resolved against the canonical root; absolute paths, .. components and anything that canonicalizes outside the root (symlinks included) are refused before the file is opened.

Structs§

DirListing
Result of Workspace::list_dirs.
Workspace
A project root that all reads are confined to.

Enums§

ReadError
Why a workspace path could not be used.

Constants§

MARKER
The Spec Kit marker directory.
MAX_FILE_BYTES
Largest artifact that is read and parsed.

Functions§

find_root
Finds the nearest ancestor of start (inclusive) that contains .specify/.