fmt: Run `cargo fmt`
This commit is contained in:
parent
b4f2614d6c
commit
a838c3ea01
|
|
@ -236,15 +236,7 @@ pub fn clone<G: Signer>(
|
||||||
node: &mut Node,
|
node: &mut Node,
|
||||||
signer: &G,
|
signer: &G,
|
||||||
storage: &Storage,
|
storage: &Storage,
|
||||||
) -> Result<
|
) -> Result<(raw::Repository, storage::git::Repository, Doc, Project), CloneError> {
|
||||||
(
|
|
||||||
raw::Repository,
|
|
||||||
storage::git::Repository,
|
|
||||||
Doc,
|
|
||||||
Project,
|
|
||||||
),
|
|
||||||
CloneError,
|
|
||||||
> {
|
|
||||||
let me = *signer.public_key();
|
let me = *signer.public_key();
|
||||||
|
|
||||||
// Seed repository.
|
// Seed repository.
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ use radicle::crypto::ssh;
|
||||||
use radicle::explorer::ExplorerUrl;
|
use radicle::explorer::ExplorerUrl;
|
||||||
use radicle::git::RefString;
|
use radicle::git::RefString;
|
||||||
use radicle::identity::project::ProjectName;
|
use radicle::identity::project::ProjectName;
|
||||||
use radicle::identity::{RepoId, Doc, Visibility};
|
use radicle::identity::{Doc, RepoId, Visibility};
|
||||||
use radicle::node::events::UploadPack;
|
use radicle::node::events::UploadPack;
|
||||||
use radicle::node::policy::Scope;
|
use radicle::node::policy::Scope;
|
||||||
use radicle::node::{Event, Handle, NodeId, DEFAULT_SUBSCRIBE_TIMEOUT};
|
use radicle::node::{Event, Handle, NodeId, DEFAULT_SUBSCRIBE_TIMEOUT};
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ use std::sync::Arc;
|
||||||
use bstr::BString;
|
use bstr::BString;
|
||||||
use radicle::crypto::PublicKey;
|
use radicle::crypto::PublicKey;
|
||||||
use radicle::git::Oid;
|
use radicle::git::Oid;
|
||||||
use radicle::identity::{DocError, Doc};
|
use radicle::identity::{Doc, DocError};
|
||||||
use radicle::storage::git::Repository;
|
use radicle::storage::git::Repository;
|
||||||
use radicle::storage::ReadRepository;
|
use radicle::storage::ReadRepository;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ use std::time::Instant;
|
||||||
use gix_protocol::handshake;
|
use gix_protocol::handshake;
|
||||||
use radicle::crypto::PublicKey;
|
use radicle::crypto::PublicKey;
|
||||||
use radicle::git::{Oid, Qualified};
|
use radicle::git::{Oid, Qualified};
|
||||||
use radicle::identity::{Did, DocError, Doc};
|
use radicle::identity::{Did, Doc, DocError};
|
||||||
|
|
||||||
use radicle::prelude::Verified;
|
use radicle::prelude::Verified;
|
||||||
use radicle::storage;
|
use radicle::storage;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue