pub fn fetch_path(
path: &Path,
project_root: &Path,
source_name: &str,
) -> Result<ResolvedRef, MarsError>Expand description
Fetch a path source: resolve relative paths against project root, verify exists.
- Relative paths are resolved against
project_root. - Absolute paths are used as-is.
- The path must exist and be a directory.
- Returns
ResolvedRefwith no version/commit (path sources are unversioned).