Skip to content

Commit 65c3dc2

Browse files
authored
refactor: Remove ddt clean (#20)
1 parent 640c308 commit 65c3dc2

File tree

6 files changed

+4
-354
lines changed

6 files changed

+4
-354
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
license = "Apache-2.0"
66
name = "ddt"
77
repository = "https://github.com/dudykr/ddt.git"
8-
version = "0.1.2"
8+
version = "0.2.0"
99

1010
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1111

README.md

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cargo install ddt
1010

1111
## `ddt git`
1212

13-
### `ddt git resolve-lockfile-conflict`
13+
### `ddt git resolve-conflict`
1414

1515
This command allows you to resolve conflicts in lockfiles automatically.
1616

@@ -36,25 +36,3 @@ If your project uses `pnpm` and `cargo` for managing dependencies, you can add t
3636
pnpm.yaml merge=ddt-lockfile
3737
Cargo.lock merge=ddt-lockfile
3838
```
39-
40-
## `ddt clean`
41-
42-
### Features
43-
44-
- Clean dead git branches.
45-
- Remove **outdated** cargo artifacts.
46-
47-
---
48-
49-
Usage: `ddt clean path/to/dir`
50-
51-
If you run `ddt clean .` from a cargo project using git,
52-
It will remove
53-
54-
- outdated cargo artifacts
55-
56-
This is not perfect, and this currently only removes large files like `.rlib`. Detection of `outdated` depends on `cargo metadata --all-features`. If an artifact for a specific version exists but it's not in dependency graph anymore, it will be removed.
57-
58-
- dead git branches if you pass `--remove-dead-git-branches`
59-
60-
The dead branch is determined by running `git fetch --all`, and branches are removed if upstream tracking branch is gone.

src/cli/clean/cargo.rs

Lines changed: 0 additions & 166 deletions
This file was deleted.

src/cli/clean/mod.rs

Lines changed: 0 additions & 155 deletions
This file was deleted.

0 commit comments

Comments
 (0)