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

Function get_storage_file_path

reset_machine.rs:29–36  ·  view source on GitHub ↗

Configuration file paths

()

Source from the content-addressed store, hash-verified

27
28// Configuration file paths
29fn get_storage_file_path() -> Option<PathBuf> {
30 if let Some(base_dirs) = BaseDirs::new() {
31 let app_data_dir = base_dirs.config_dir(); // Typically %APPDATA% or ~/.config
32 Some(app_data_dir.join("Cursor").join("User").join("globalStorage").join("storage.json"))
33 } else {
34 None
35 }
36}
37
38fn get_backup_dir_path() -> Option<PathBuf> {
39 if let Some(base_dirs) = BaseDirs::new() {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected