Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle/git/raw: Limit scope of `RemoteCallbacks`
✗ CI failure Lorenz Leutgeb committed 6 months ago
commit 6c280e67e5cb17831a674c5d030334e1e3db6275
parent 10e7b94c304d215ad4a1ff326233098ab182d0b1
2 failed (2 total) View logs
1 file changed +5 -1
modified crates/radicle/src/git/raw.rs
@@ -7,9 +7,13 @@
// Re-exports that are only used within this crate.
pub(crate) use git2::{
    message_trailers_strs, AutotagOption, Blob, Config, FetchOptions, FetchPrune, Object,
-
    RemoteCallbacks, Revwalk, Sort,
+
    Revwalk, Sort,
};

+
// Re-exports that are only used within this crate for testing.
+
#[cfg(any(test, feature = "test"))]
+
pub(crate) use git2::RemoteCallbacks;
+

// Re-exports that are used by other crates in the workspace, including this crate.
pub use git2::{
    Branch, BranchType, Commit, Direction, Error, ErrorClass, ErrorCode, FileMode, ObjectType, Oid,