radicle: Compile `rad::fork_remote` only for tests
The `rad::fork_remote` function is only used in tests.
This commit is contained in:
parent
7bac17146c
commit
759a6fb982
|
|
@ -165,6 +165,7 @@ pub enum ForkError {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create a local tree for an existing project, from an existing remote.
|
/// Create a local tree for an existing project, from an existing remote.
|
||||||
|
#[cfg(any(test, feature = "test"))]
|
||||||
pub fn fork_remote<G, S>(
|
pub fn fork_remote<G, S>(
|
||||||
proj: RepoId,
|
proj: RepoId,
|
||||||
remote: &RemoteId,
|
remote: &RemoteId,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue