(base_dir: &Path, pid: pid_t)
| 64 | } |
| 65 | |
| 66 | fn get_state_file_path(base_dir: &Path, pid: pid_t) -> PathBuf { |
| 67 | base_dir.join(pid.to_string()) |
| 68 | } |
| 69 | |
| 70 | /// Persist `value` for the current shell session (keyed by the parent PID of |
| 71 | /// this process). |