Expand description
External files are associated with a project, never with their storage directory.
Structs§
Functions§
- add
- Mutate under the same lock as the existing namespace and slug writers.
- configs_
for_ dir - Configuration files registered for this exact project directory.
- entries
- invalidate
- label_
for_ checkout - The hostname label a registration names for the project whose primary
checkout is
primary. - namespace_
for_ dir - namespace_
has_ running_ daemon - Whether the state file records a running daemon in
namespace. A namespace with live daemons must keep its registration, or a new project registered under the name would find the old project’s running daemons. - normalize
- Canonicalize existing paths and normalize missing paths for unregistering.
- path_
is_ gone - Whether the filesystem positively reports
pathas nonexistent. An I/O error (permissions, a flaky mount) is not “gone”: callers delete on this. - paths_
for - project_
dir - remove
- resolve_
path