Skip to main content

Module local_links

Module local_links 

Source
Expand description

Records on this machine that a .semora naming another server is used with this CLI’s server (semora project link). They live in project-links.toml in the config folder, never in the checkout, so nobody else’s copy of the project changes.

Structs§

LocalLink

Functions§

find
load_all
remove
Drops the entry for the file. false when there was none.
remove_shadowed
The file in root named another server and now names this one (server_id), so the entries made for that folder that sent its project here are no longer used: drops them and returns them. An entry made for another folder belongs to another checkout, which may be another repository with the same project id, and is kept.
save
Saves link, replacing the entry for the same file.