chore: clippy, developer docs without git, the free-text clause count
The count of free-text source clauses falls from 56 to 54: the git form's spec blocks are gone. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
83a32aec14
commit
fd78612dd4
9 files changed
+62
-44
No files matched your search
@@ -16,8 +16,9 @@
|
||||
//! every process that could still hold it: a child forked by another
|
||||
//! thread of this process holds a copy of every open descriptor (this
|
||||
//! lock's too) from its fork until its exec, and a `flock` lasts as
|
||||
//! long as any copy does. Every child this crate starts is started by
|
||||
//! [`spawn`], and dropping a [`WriterLock`] returns only once every
|
||||
//! long as any copy does. Every child a process that holds a store starts
|
||||
//! is started by [`spawn`] (the store itself starts none since backups
|
||||
//! became plain files, D-91; the seam stays for any that does), and dropping a [`WriterLock`] returns only once every
|
||||
//! [`spawn`] begun before it has ended (its child has exec'd and the
|
||||
//! copies are closed), and then the lock is taken afresh and let go
|
||||
//! (it is free, or another writer has it, or 500 ms passed: the system
|
||||
|
||||
@@ -196,7 +196,7 @@ impl JobStop {
|
||||
self
|
||||
}
|
||||
|
||||
/// The flag: what git and the store's loops are handed to look at.
|
||||
/// The flag: what a backup's copy and the store's loops are handed to look at.
|
||||
pub fn flag(&self) -> std::sync::Arc<std::sync::atomic::AtomicBool> {
|
||||
self.flag.clone()
|
||||
}
|
||||
@@ -229,7 +229,7 @@ impl JobStop {
|
||||
}
|
||||
}
|
||||
|
||||
/// A stop that reached the store's own loops or git, said as a job's.
|
||||
/// A stop that reached the store's own loops or a backup's copy, said as a job's.
|
||||
fn said(&self, e: RootError, undone: &str) -> RootError {
|
||||
match e {
|
||||
RootError::Store(_, StoreError::Cancelled) => RootError::Stopped(format!(
|
||||
|
||||
Reference in new issue
Block a user