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