Expand description
The host folders a container agent can write, and where each is inside the agent’s container.
Git facts of a container agent are read inside its container: for such a folder, or anything inside it,
super::git starts no git on the host and runs it in the agent’s container instead, at the same folder
there (place). So the work facts, the overlap and PR helpers and the Files pane’s markers say what the
agent’s own git says.
The folders are read from the panes in the store, the values a container’s mounts are made from
(container::mounts::writable): the workspace (cmd:cwd of a pane whose agent runs in a container), the
agent’s Personal Memory folder, and each host folder of its volumes that is not bound read-only. The list
is reused for a moment so a burst of git runs reads the store once.
A folder is asked about as it is spelled and as it resolves (links followed): either one inside a bound folder makes it the container’s.
Structs§
- Inside
- A host folder as its container sees it.
Enums§
- Place
- Where git for a folder runs.
Functions§
- holds_
a_ container_ agents_ folder - Whether a folder a container agent can write is
diror lies beneath it. Yes while that can’t be told. Reads the disk and the store, asplacedoes. - inside_
one - Where
askedis insidecontainer, werefolderbound into it attarget:Nonewhen it is not in that folder, as written or as it resolves. Reads the disk for the spellings and nothing else. - install
- Name the store the folders are read from. Called by everything that leads to a git run before it runs one (the work-facts loop, the Files pane’s handler); the first call wins.
- open_
asks_ first - What opening a file at
placewith the system’s own app has to ask first: the id of the container agent that can write it (empty when the panes can’t be read, so no agent can be named), orNonefor a path no container agent can write. - overlap
- Whether
aandbare one folder, or one lies beneath the other, as written or as either resolves. - place
- Where git for
dirruns. - written_
by_ a_ container_ agent - Whether a container agent can write
dir: it is a folder bound writable into an agent’s container, or inside one. Yes while that can’t be told. Reads the disk and the store (seeplace).