summaryrefslogtreecommitdiffstats
path: root/vendor/gix-odb/src/store_impls/dynamic/structure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gix-odb/src/store_impls/dynamic/structure.rs')
-rw-r--r--vendor/gix-odb/src/store_impls/dynamic/structure.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/gix-odb/src/store_impls/dynamic/structure.rs b/vendor/gix-odb/src/store_impls/dynamic/structure.rs
index 687e74d6a..8e5adc23c 100644
--- a/vendor/gix-odb/src/store_impls/dynamic/structure.rs
+++ b/vendor/gix-odb/src/store_impls/dynamic/structure.rs
@@ -52,6 +52,7 @@ impl Store {
/// implementation. The likelihood of actual changes is low though as these still depend on something
/// changing on disk and somebody reading at the same time.
pub fn structure(&self) -> Result<Vec<Record>, load_index::Error> {
+ let _span = gix_features::trace::detail!("gix_odb::Store::structure()");
let index = self.index.load();
if !index.is_initialized() {
self.consolidate_with_disk_state(true, false /*load one new index*/)?;