Expand description
Resolve the Ito working directory name and path. Ito working directory discovery.
This module answers: “where is the .ito/ directory for this project?”.
It mirrors the precedence rules from the TypeScript implementation.
Functions§
- absolutize_
and_ normalize - Resolves a possibly-relative path to an absolute, lexically normalized form.
- get_
ito_ dir_ name - Determine the configured Ito working directory name.
- get_
ito_ dir_ name_ fs - Like
get_ito_dir_name, but uses an injected file-system. - get_
ito_ path - Resolve the
.ito/path forproject_root. - get_
ito_ path_ fs - Resolve the Ito directory path for a project using an injected filesystem.
- lexical_
normalize - Lexically normalizes a path by resolving
.and..components without accessing the filesystem.