Skip to main content

Module paths

Module paths 

Source
Expand description

Workspace configuration directory resolution (.strixonomy primary, .ontocore legacy).

Constants§

CACHE_SUBDIR
Relative cache directory under the config dir.
CONFIG_DIR
Primary workspace config directory (v0.27+).
DIAGNOSTICS_FILE
Diagnostics config filename under the config dir.
LEGACY_CONFIG_DIR
Legacy OntoCore config directory (accepted through at least 1.0).
LEGACY_PLUGIN_DISABLED_REL
Legacy disabled-plugins state file.
LEGACY_PLUGIN_OUT_REL
Legacy plugin export directory.
PLUGINS_SUBDIR
Relative plugins directory under the config dir.
PLUGIN_DISABLED_REL
Disabled-plugins state file (relative to workspace).
PLUGIN_OUT_REL
Default plugin export directory (relative to workspace).

Functions§

cache_dir
Cache root under the workspace.
diagnostics_config_path
Diagnostics.toml path.
plugin_search_dirs
All plugin directories to scan (primary first, then legacy if distinct and present).
plugins_dir
Primary plugins directory path (may not exist yet).
resolve_config_path
Resolve {workspace}/.strixonomy/{leaf} preferring an existing primary path, else an existing legacy .ontocore/{leaf}, else the primary path for writes.
resolve_dotted_config_path
Like resolve_config_path but for a relative path that already includes the config dir prefix (e.g. .strixonomy/cache).