pub fn new(path: PathBuf) -> Self {
        Pidlock {
            pid: process::id(),
            path,
            state: PidlockState::New,
        }
    }
Create a new Pidlock at the provided path.
crates/turborepo-pidlock/src/lib.rs