Skip to content

Commit 706181c

Browse files
cgwaltersjeckersb
authored andcommitted
repository: Drop unimplemented pub fn fsck
Having this as `pub` no-op is just deceptive. Signed-off-by: Colin Walters <[email protected]>
1 parent e7cf641 commit 706181c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/composefs/src/repository.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ impl<ObjectID: FsVerityHashValue> Repository<ObjectID> {
693693
Ok(flock(&self.repository, FlockOperation::LockShared)?) // XXX: finally { } ?
694694
}
695695

696-
pub fn fsck(&self) -> Result<()> {
697-
Ok(())
698-
}
696+
// fn fsck(&self) -> Result<()> {
697+
// unimplemented!()
698+
// }
699699
}

0 commit comments

Comments
 (0)