MCPcopy Create free account
hub / github.com/agentcodee/cursor-free-everyday / get_backup_dir_path

Function get_backup_dir_path

reset_machine.rs:38–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38fn get_backup_dir_path() -> Option<PathBuf> {
39 if let Some(base_dirs) = BaseDirs::new() {
40 let app_data_dir = base_dirs.config_dir();
41 Some(app_data_dir.join("Cursor").join("User").join("globalStorage").join("backups"))
42 } else {
43 None
44 }
45}
46
47fn get_cursor_package_path() -> Option<PathBuf> {
48 if let Some(user_dirs) = BaseDirs::new() {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected