Expand description
The .nib file in the folder of a tree outside its library’s folder, which names the
library, as a worktree’s .git file names its repository, so that commands run there find
it; and none in the folder of a tree inside it, where the commands find the library
without one, and a file left there would take them over. nib and the apps that start
trees settle it alike (technical design: trees).
Structs§
- Found
- A library that a command found, and the
.nibfile that named it, if one did.
Enums§
- Pointer
Error - What is wrong with a
.nibfile, or with writing one. - Settled
- What
settledid in a tree’s folder.
Constants§
- LIBRARY_
DATA - The folder in a library’s folder that holds the library, and the file in a tree’s folder that names it.
Functions§
- check
- Refuses a library that a
.nibfile named, unless the library keeps a tree in that very folder on this device: a.nibfile from elsewhere, such as in an archive, must not point commands at the person’s library. A file instarting, the folder thatnib initmakes a tree, counts all the same, as init writes it anew. - check_
place - Refuses where something other than a file is in the place of the tree’s
.nibfile, which writing must neither follow nor replace. - folder_
of - The folder that a
.nibfile is in, for messages. - holds_
library - Whether a folder’s
.nibholds a library, what is left of starting one, or copies of replicas made elsewhere. - names
- Whether the tree’s folder
rootholds a.nibfile that names the library inlibrary. - nearest
- The nearest library of
hereand the folders it is in, belowceiling: the folder whose.nibholds it, or the one that a.nibfile names. - needed
- Whether commands run in the tree’s folder
rootneed a.nibfile there to find the library inlibrary: unless the nearest library of the folder and those it is in, belowceiling, is that one, in its own folder. Another tree’s.nibfile above it would name another library, or none. - resolved_
as_ far_ as_ it_ exists - A folder as the file system resolves it, so that one folder is named one way: the nearest part of it that exists, resolved, then the rest, which nothing can link elsewhere yet.
- settle
- Settles the
.nibfile in the tree’s folderroot, as commands there need it to find the library inlibrary: writes the file that names it where they would not find it otherwise, asneededsays, and else takes away what they would read as one, such as a file copied with the folder, which would take them over; of a link to a file, the link goes, not what it links to. A folder in its place stays, such as the library’s own where the tree’s folder is the library’s. - tree_
rooted_ at - The tree whose folder on this device is
folderitself, in any space of the library, with its space. - write
- Writes into the tree’s folder
rootthe.nibfile that names the library inlibrary, over one that is there, and saves it, and the folder where the system allows.