Skip to main content

Module process

Module process 

Source

Functionsยง

asset_root_path
execution_root_path
find_project_root
Find the project root by walking up from a base directory looking for harn.toml, via the shared harn-modules walk so the in-VM resolver agrees with the CLI and LSP on where a project starts.
project_root_path
resolve_source_asset_path
resolve_source_relative_path
runtime_root_base
set_session_environment
Install (or clear) the environment policy the current session runs under. Called at the session launch boundary once the declared policy and grants have been resolved into a crate::security::SessionEnvironment.
set_thread_execution_context
source_root_path