MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / pid_file

Method pid_file

src/context/tsk_env.rs:140–142  ·  view source on GitHub ↗

Get the server PID file path

(&self)

Source from the content-addressed store, hash-verified

138
139 /// Get the server PID file path
140 pub fn pid_file(&self) -> PathBuf {
141 self.runtime_dir.join("tsk.pid")
142 }
143
144 /// Ensure all required directories exist
145 pub fn ensure_directories(&self) -> Result<(), TskEnvError> {

Callers 4

is_server_runningMethod · 0.80
write_pidMethod · 0.80
read_pidMethod · 0.80
remove_pidMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected