├── .cargo
└── config.toml
├── .editorconfig
├── .github
├── dependabot.yml
└── workflows
│ ├── publish.yml
│ └── test.yml
├── .gitignore
├── .rustfmt.toml
├── CHANGELOG.md
├── Cargo.lock
├── Cargo.toml
├── LICENSE
├── README.md
├── README_zh-CN.md
├── RELEASE.md
├── gen
├── completions
│ ├── _sd
│ ├── _sd.ps1
│ ├── sd.bash
│ ├── sd.elv
│ └── sd.fish
└── sd.1
├── proptest-regressions
└── replacer
│ ├── tests.txt
│ └── validate.txt
├── release.toml
├── src
├── cli.rs
├── error.rs
├── input.rs
├── main.rs
├── replacer
│ ├── mod.rs
│ ├── tests.rs
│ └── validate.rs
├── snapshots
│ └── sd__unescape__test__unescape.snap
└── unescape.rs
├── tests
├── cli.rs
└── snapshots
│ ├── cli__cli__correctly_fails_on_missing_file.snap
│ ├── cli__cli__correctly_fails_on_unreadable_file.snap
│ └── cli__cli__reports_errors_on_atomic_file_swap_creation_failure.snap
└── xtask
├── Cargo.toml
└── src
├── gen.rs
└── main.rs
/.cargo/config.toml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/.cargo/config.toml
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/.editorconfig
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/.github/dependabot.yml
--------------------------------------------------------------------------------
/.github/workflows/publish.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/.github/workflows/publish.yml
--------------------------------------------------------------------------------
/.github/workflows/test.yml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/.github/workflows/test.yml
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /target
2 | **/*.rs.bk
3 |
--------------------------------------------------------------------------------
/.rustfmt.toml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/.rustfmt.toml
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/CHANGELOG.md
--------------------------------------------------------------------------------
/Cargo.lock:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/Cargo.lock
--------------------------------------------------------------------------------
/Cargo.toml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/Cargo.toml
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/LICENSE
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/README.md
--------------------------------------------------------------------------------
/README_zh-CN.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/README_zh-CN.md
--------------------------------------------------------------------------------
/RELEASE.md:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/RELEASE.md
--------------------------------------------------------------------------------
/gen/completions/_sd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/gen/completions/_sd
--------------------------------------------------------------------------------
/gen/completions/_sd.ps1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/gen/completions/_sd.ps1
--------------------------------------------------------------------------------
/gen/completions/sd.bash:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/gen/completions/sd.bash
--------------------------------------------------------------------------------
/gen/completions/sd.elv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/gen/completions/sd.elv
--------------------------------------------------------------------------------
/gen/completions/sd.fish:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/gen/completions/sd.fish
--------------------------------------------------------------------------------
/gen/sd.1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/gen/sd.1
--------------------------------------------------------------------------------
/proptest-regressions/replacer/tests.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/proptest-regressions/replacer/tests.txt
--------------------------------------------------------------------------------
/proptest-regressions/replacer/validate.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/proptest-regressions/replacer/validate.txt
--------------------------------------------------------------------------------
/release.toml:
--------------------------------------------------------------------------------
1 | no-dev-version = true
2 |
--------------------------------------------------------------------------------
/src/cli.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/src/cli.rs
--------------------------------------------------------------------------------
/src/error.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/src/error.rs
--------------------------------------------------------------------------------
/src/input.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/src/input.rs
--------------------------------------------------------------------------------
/src/main.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/src/main.rs
--------------------------------------------------------------------------------
/src/replacer/mod.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/src/replacer/mod.rs
--------------------------------------------------------------------------------
/src/replacer/tests.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/src/replacer/tests.rs
--------------------------------------------------------------------------------
/src/replacer/validate.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/src/replacer/validate.rs
--------------------------------------------------------------------------------
/src/snapshots/sd__unescape__test__unescape.snap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/src/snapshots/sd__unescape__test__unescape.snap
--------------------------------------------------------------------------------
/src/unescape.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/src/unescape.rs
--------------------------------------------------------------------------------
/tests/cli.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/tests/cli.rs
--------------------------------------------------------------------------------
/tests/snapshots/cli__cli__correctly_fails_on_missing_file.snap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/tests/snapshots/cli__cli__correctly_fails_on_missing_file.snap
--------------------------------------------------------------------------------
/tests/snapshots/cli__cli__correctly_fails_on_unreadable_file.snap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/tests/snapshots/cli__cli__correctly_fails_on_unreadable_file.snap
--------------------------------------------------------------------------------
/tests/snapshots/cli__cli__reports_errors_on_atomic_file_swap_creation_failure.snap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/tests/snapshots/cli__cli__reports_errors_on_atomic_file_swap_creation_failure.snap
--------------------------------------------------------------------------------
/xtask/Cargo.toml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/xtask/Cargo.toml
--------------------------------------------------------------------------------
/xtask/src/gen.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/xtask/src/gen.rs
--------------------------------------------------------------------------------
/xtask/src/main.rs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chmln/sd/HEAD/xtask/src/main.rs
--------------------------------------------------------------------------------