treehouse/content/treehouse/vfs.tree
2024-11-23 22:19:26 +01:00

24 lines
886 B
Text

%% title = "treehouse virtual file system design"
% id = "01JDDE33S14N7HWB2W1Z603K94"
- notes on the design; this is not an actual listing of the virtual file system
% id = "01JDDE33S1CXBQ9EB4ENYG3JNP"
- `content` - `GitDir(".", "content")`
% id = "01JDDE33S1G9B80CJDM09TG5MJ"
- `GitDir` is a special filesystem which makes all files have subpaths with commit data sourced from git.
their entries are ordered by how new/old a commit is
% id = "01JDDE33S11P6NP1NNMVF6EX52"
- `inner/<commit>` - contains the file content and a revision info fork
% id = "01JDDE33S1EK8JKHKVGXSR46HB"
- `inner/latest` - same but for the latest revision, if applicable.
this may be the working tree
% id = "01JDDE33S1X9GT32HCZE12455A"
- `template` - `PhysicalDir("template")`
% id = "01JDDE33S14FEG7XHBRCN3H8WM"
- `static` - `PhysicalDir("static")`