pub struct ResolvedPaths {
pub data_root: PathBuf,
pub resource_root: PathBuf,
pub database_path: PathBuf,
pub llama_server_path: PathBuf,
pub models_dir: PathBuf,
pub models_source: ModelsDirSource,
}Expand description
All resolved paths captured in a single struct.
This is the “golden truth” for path resolution - use it for:
- Integration tests comparing adapter parity
- CLI
gglib pathscommand output - Debugging path resolution issues
Fields§
§data_root: PathBufRoot directory for application data (database, logs, etc.)
resource_root: PathBufRoot directory for application resources (binaries, assets)
database_path: PathBufPath to the SQLite database file
llama_server_path: PathBufPath to the llama-server binary
models_dir: PathBufPath to the models directory
models_source: ModelsDirSourceHow the models directory was resolved
Implementations§
Source§impl ResolvedPaths
impl ResolvedPaths
Trait Implementations§
Source§impl Clone for ResolvedPaths
impl Clone for ResolvedPaths
Source§fn clone(&self) -> ResolvedPaths
fn clone(&self) -> ResolvedPaths
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedPaths
impl Debug for ResolvedPaths
Source§impl Display for ResolvedPaths
impl Display for ResolvedPaths
Source§impl PartialEq for ResolvedPaths
impl PartialEq for ResolvedPaths
impl Eq for ResolvedPaths
impl StructuralPartialEq for ResolvedPaths
Auto Trait Implementations§
impl Freeze for ResolvedPaths
impl RefUnwindSafe for ResolvedPaths
impl Send for ResolvedPaths
impl Sync for ResolvedPaths
impl Unpin for ResolvedPaths
impl UnwindSafe for ResolvedPaths
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more