Expand description
What a host started outside a project shows: the recent projects (speccoder’s own state, written when a project is opened or created) and folder names to choose from — read-only, under the person’s home.
Structs§
- Recent
- A recent project.
- Recent
View - A recent project as the welcome shows it.
Constants§
- MAX_
FOLDERS - The most folder names one listing returns.
- MAX_
RECENT - The most recent projects kept.
Functions§
- default_
parent - Where New Project puts a folder by default: beside the last project
speccoder created, else
~/Workspaceswhen it exists, else home. - folders
- Folder names under
under(which must lie in the person’s home): directories only, hidden ones only whenunder’s last part asks for them, at mostMAX_FOLDERS.undermay end in a partial name: the folders of its parent that start with it. - forget
- Removes the project at
rootfrom the recent ones. - is_
project - Whether a host started at
pathserves it right away: a spec project, or a git repository (the setup assistant takes over there). Anywhere else the host serves the welcome. - recent
- The recent projects, newest first.
- remember
- Records that the project at
rootwas opened (or created) now. - tilde
~/xfor a path under the home directory.- views
- The recent projects with whether each folder is still there (nothing of a missing one is read) and Undo on a project created in the last day.