pub fn default_data_dir() -> Option<PathBuf>Expand description
Get the default data directory path for agent-diva files
Uses the system’s local data directory (e.g., %LOCALAPPDATA% on Windows, ~/Library/Application Support on macOS, ~/.local/share on Linux) and appends “agent-diva/files”.
§Returns
Some(PathBuf)- The default data directory pathNone- If the local data directory cannot be determined