pub fn set_data_dir(dir: PathBuf) -> bool
Keeps every file below dir from now on. Call before the services start; later calls are ignored. Returns false if a directory was already set.
dir
false