radicle: remove repo iff there's no local rad/sigrefs
modified radicle-cli/examples/rad-clean.md
@@ -5,7 +5,7 @@ clean` command.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -16,7 +16,7 @@ $ rad ls
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -24,7 +24,7 @@ z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk 161b775a3509c8098de67f57f750972
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -32,7 +32,7 @@ Removed z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -44,15 +44,24 @@ possible to stop fetching Bob for this particular repository.
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
modified radicle-cli/src/commands/clean.rs
@@ -80,7 +80,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/tests/commands.rs
@@ -642,6 +642,7 @@ fn rad_clean() {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -657,9 +658,12 @@ fn rad_clean() {
|
|
|
|
|
|
| + | |
|
|
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -669,16 +673,31 @@ fn rad_clean() {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/storage.rs
@@ -349,6 +349,15 @@ pub trait WriteStorage: ReadStorage {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/storage/git.rs
@@ -17,7 +17,7 @@ use crate::identity::doc::DocError;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -141,7 +141,16 @@ impl WriteStorage for Storage {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -359,7 +368,7 @@ impl Repository {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -379,10 +388,12 @@ impl Repository {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|