Skip to content

Commit

Permalink
refactor: remove object cache impl which now lives in git-pack (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Sep 21, 2021
1 parent d6c44e6 commit 741558d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 84 deletions.
2 changes: 1 addition & 1 deletion git-repository/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ git-odb = { version ="^0.22.0", path = "../git-odb" }
git-hash = { version ="^0.6.0", path = "../git-hash" }
git-object = { version ="^0.14.0", path = "../git-object" }
git-actor = { version ="^0.5.0", path = "../git-actor" }
git-pack = { version ="^0.12.0", path = "../git-pack" }
git-pack = { version ="^0.12.0", path = "../git-pack", features = ["object-cache-dynamic"] }

git-url = { version = "0.3.0", path = "../git-url", optional = true }
git-traverse = { version ="^0.9.0", path = "../git-traverse" }
Expand Down
82 changes: 0 additions & 82 deletions git-repository/src/easy/object/cache.rs

This file was deleted.

4 changes: 3 additions & 1 deletion git-repository/src/easy/object/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ use crate::{
};

mod errors;
pub(crate) mod cache {
pub use git_pack::cache::object::MemoryCappedHashmap;
}
pub use errors::{find, write};
pub(crate) mod cache;
mod impls;
pub mod peel;
mod tree;
Expand Down

0 comments on commit 741558d

Please sign in to comment.