Skip to main content

settings_folder

Function settings_folder 

Source
pub fn settings_folder() -> Option<PathBuf>
Expand description

This computer’s folder within NibKeep’s folder of state for the person, where the list and the files beside it are: in ~/.local/state/nibkeep on Linux (or $XDG_STATE_HOME/nibkeep), %LOCALAPPDATA%\NibKeep on Windows, which no roaming profile carries, and ~/Library/Application Support/NibKeep on macOS. It is named by a hash of the computer’s ID, so that a program that syncs the home folder between computers makes no two of them write the same file. Or the folder that NIBKEEP_STATE names, as tests name one. None where there is no home folder.