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 {
336336bitflags ! {
337337 /// Supported operations for a backend.
338338 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.
341342 /// The backend supports the [`OdbBackend::read`] method.
342343 const READ = 1 ;
343344 /// The backend supports the [`OdbBackend::read_prefix`] method.
@@ -358,7 +359,7 @@ bitflags! {
358359 const REFRESH = 1 << 7 ;
359360 /// The backend supports the [`OdbBackend::foreach`] method.
360361 const FOREACH = 1 << 8 ;
361- /// The backend supports the [`OdbBackend::write_pack `] method.
362+ /// The backend supports the [`OdbBackend::open_writepack `] method.
362363 const WRITE_PACK = 1 << 9 ;
363364 /// The backend supports the [`OdbBackend::write_multipack_index`] method.
364365 const WRITE_MULTIPACK_INDEX = 1 << 10 ;
You can’t perform that action at this time.
0 commit comments