MCPcopy Create free account
hub / github.com/block/buzz / canonical_dev_data_dir

Function canonical_dev_data_dir

desktop/src-tauri/src/migration.rs:54–56  ·  view source on GitHub ↗
(current: &Path)

Source from the content-addressed store, hash-verified

52}
53
54fn canonical_dev_data_dir(current: &Path) -> Option<PathBuf> {
55 current.parent().map(|p| p.join(CANONICAL_DEV_IDENTIFIER))
56}
57
58fn legacy_app_data_dir(current: &Path) -> Option<PathBuf> {
59 let name = current.file_name()?.to_str()?;

Calls

no outgoing calls