File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -336,8 +336,9 @@ pub trait OdbBackend: Sized {
336
336
bitflags ! {
337
337
/// Supported operations for a backend.
338
338
pub struct SupportedOperations : u32 {
339
- // NOTE: The names are taken from the trait method names, but the order is taken from the
340
- // fields of git_odb_backend.
339
+ // NOTE: The names are mostly taken from the trait method names, but the order of the flags
340
+ // is taken from the fields of git_odb_backend.
341
+ // Essentially, choose a name that is tasteful.
341
342
/// The backend supports the [`OdbBackend::read`] method.
342
343
const READ = 1 ;
343
344
/// The backend supports the [`OdbBackend::read_prefix`] method.
@@ -358,7 +359,7 @@ bitflags! {
358
359
const REFRESH = 1 << 7 ;
359
360
/// The backend supports the [`OdbBackend::foreach`] method.
360
361
const FOREACH = 1 << 8 ;
361
- /// The backend supports the [`OdbBackend::write_pack `] method.
362
+ /// The backend supports the [`OdbBackend::open_writepack `] method.
362
363
const WRITE_PACK = 1 << 9 ;
363
364
/// The backend supports the [`OdbBackend::write_multipack_index`] method.
364
365
const WRITE_MULTIPACK_INDEX = 1 << 10 ;
You can’t perform that action at this time.
0 commit comments