mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-28 21:50:26 +08:00
Re-organize identity types and modules
The new hierarchy should be much more correct, and cleaner: * `identity` (`Identity`) * `identity::did` (`Did`) * `identity::doc` (`Doc`, `Payload`) * `identity::doc::id` (`Id`) * `identity::project` (`Project`) Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
This commit is contained in:
@@ -8,8 +8,8 @@ use anyhow::{anyhow, Context as _};
|
||||
use chrono::prelude::*;
|
||||
use json_color::{Color, Colorizer};
|
||||
|
||||
use radicle::identity::project::{Doc, Untrusted};
|
||||
use radicle::identity::Id;
|
||||
use radicle::identity::Untrusted;
|
||||
use radicle::identity::{Doc, Id};
|
||||
use radicle::storage::{ReadRepository, ReadStorage, WriteStorage};
|
||||
|
||||
use crate::terminal as term;
|
||||
|
||||
@@ -4,7 +4,7 @@ use std::str::FromStr;
|
||||
|
||||
use anyhow::anyhow;
|
||||
|
||||
use radicle::identity::project::Id;
|
||||
use radicle::identity::Id;
|
||||
use radicle::storage::ReadStorage;
|
||||
|
||||
use crate::commands::rad_untrack;
|
||||
|
||||
@@ -2,7 +2,7 @@ use std::ffi::OsString;
|
||||
|
||||
use anyhow::{anyhow, Context as _};
|
||||
|
||||
use radicle::identity::project::Id;
|
||||
use radicle::identity::Id;
|
||||
use radicle::node::Handle;
|
||||
use radicle::prelude::*;
|
||||
use radicle::storage::WriteStorage;
|
||||
|
||||
Reference in New Issue
Block a user