radicle: Compile `rad::fork_remote` only for tests

The `rad::fork_remote` function is only used in tests.
This commit is contained in:
Fintan Halpenny 2026-03-12 17:00:09 +00:00 committed by Lorenz Leutgeb
parent 7bac17146c
commit 759a6fb982
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ pub enum ForkError {
}
/// Create a local tree for an existing project, from an existing remote.
#[cfg(any(test, feature = "test"))]
pub fn fork_remote<G, S>(
proj: RepoId,
remote: &RemoteId,