MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / default_profile_root

Function default_profile_root

src/storage.rs:258–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256}
257
258pub fn default_profile_root() -> Result<PathBuf> {
259 config::user_data_dir().ok_or_else(|| TraceDecayError::Config {
260 message: "could not resolve user profile data directory".to_string(),
261 })
262}
263
264pub fn resolve_layout_for_current_profile(project_root: &Path) -> Result<StoreLayout> {
265 match read_enrollment_marker(project_root)? {

Calls 1

user_data_dirFunction · 0.85