Skip to main content

Module volume

Module volume 

Source
Expand description

Volume root detection.

The primary entry point is find_omne_root, which walks up from a starting directory looking for an ancestor that contains a .omne/ subdirectory. upgrade and validate use this so they work from any subdirectory of a volume; init deliberately does not walk up (R13 — init creates in the current directory only).

The Python module’s is_mounted() helper is not ported per R12: the submodule/mount model was removed when releases-based distribution replaced the submodule architecture. Dead code deletion happens in Unit 12.

Functions§

find_omne_root
Walk up from start looking for an ancestor that contains a .omne/ subdirectory. Returns the first match, or None when the walk reaches the filesystem root without finding one.