bijux-cli 0.3.6

Command-line runtime for automation, plugin-driven tools, and interactive workflows with structured output.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![forbid(unsafe_code)]
//! Shared path normalization helpers.

use std::path::{Path, PathBuf};

/// Normalize separators for stable cross-platform reporting.
#[must_use]
pub fn normalize_for_report(path: &Path) -> String {
    path.to_string_lossy().replace('\\', "/")
}

/// Join path segments from report-friendly fragments.
#[must_use]
pub fn join_report_path(base: &Path, segment: &str) -> PathBuf {
    base.join(segment)
}