Module paths

Module paths 

Source
Expand description

File path manipulation utilities Path handling utilities for cross-platform operations.

This module provides utilities for handling paths in a cross-platform way, particularly for converting between Rust Path types and C string representations that APR and related libraries expect.

Functions§

cstring_to_pathbuf
Convert a C string back to a Rust PathBuf
get_cwd
Get the current working directory
is_absolute
Check if a path is absolute using APR’s path checking
join_paths
Join two paths
normalize_path
Normalize a path using APR’s path normalization
path_to_cstring
Convert a Rust Path to a pool-allocated C string suitable for APR functions
set_cwd
Set the current working directory