pub fn query(opt: QueryOptions) -> Result<()>
Determine if the current lockfile needs to be re-pinned