Prettify md/yaml file

Resolved via `prettier --write .`
This commit is contained in:
Kian-Meng Ang
2022-08-23 23:33:53 +08:00
committed by andy.boot
parent 2893f73f47
commit c148cd9044
2 changed files with 266 additions and 238 deletions
+35 -7
View File
@@ -81,13 +81,41 @@ jobs:
matrix: matrix:
job: job:
# { os, target, cargo-options, features, use-cross, toolchain } # { os, target, cargo-options, features, use-cross, toolchain }
- { os: ubuntu-latest , target: aarch64-unknown-linux-gnu , use-cross: use-cross } - {
- { os: ubuntu-latest , target: aarch64-unknown-linux-musl , use-cross: use-cross } os: ubuntu-latest,
- { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf , use-cross: use-cross } target: aarch64-unknown-linux-gnu,
- { os: ubuntu-latest , target: i686-unknown-linux-gnu , use-cross: use-cross } use-cross: use-cross,
- { os: ubuntu-latest , target: i686-unknown-linux-musl , use-cross: use-cross } }
- { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , use-cross: use-cross } - {
- { os: ubuntu-latest , target: x86_64-unknown-linux-musl , use-cross: use-cross } os: ubuntu-latest,
target: aarch64-unknown-linux-musl,
use-cross: use-cross,
}
- {
os: ubuntu-latest,
target: arm-unknown-linux-gnueabihf,
use-cross: use-cross,
}
- {
os: ubuntu-latest,
target: i686-unknown-linux-gnu,
use-cross: use-cross,
}
- {
os: ubuntu-latest,
target: i686-unknown-linux-musl,
use-cross: use-cross,
}
- {
os: ubuntu-latest,
target: x86_64-unknown-linux-gnu,
use-cross: use-cross,
}
- {
os: ubuntu-latest,
target: x86_64-unknown-linux-musl,
use-cross: use-cross,
}
- { os: macos-latest, target: x86_64-apple-darwin } - { os: macos-latest, target: x86_64-apple-darwin }
- { os: windows-latest, target: i686-pc-windows-gnu } - { os: windows-latest, target: i686-pc-windows-gnu }
- { os: windows-latest, target: i686-pc-windows-msvc } - { os: windows-latest, target: i686-pc-windows-msvc }
+17 -17
View File
@@ -1,4 +1,3 @@
[![Build Status](https://travis-ci.org/bootandy/dust.svg?branch=master)](https://travis-ci.org/bootandy/dust) [![Build Status](https://travis-ci.org/bootandy/dust.svg?branch=master)](https://travis-ci.org/bootandy/dust)
# Dust # Dust
@@ -10,35 +9,37 @@ du + rust = dust. Like du but more intuitive.
Because I want an easy way to see where my disk is being used. Because I want an easy way to see where my disk is being used.
# Demo # Demo
![Example](media/snap.png) ![Example](media/snap.png)
## Install ## Install
#### Cargo <a href="https://repology.org/project/du-dust/versions"><img src="https://repology.org/badge/vertical-allrepos/du-dust.svg" alt="Packaging status" align="right"></a> #### Cargo <a href="https://repology.org/project/du-dust/versions"><img src="https://repology.org/badge/vertical-allrepos/du-dust.svg" alt="Packaging status" align="right"></a>
* `cargo install du-dust` - `cargo install du-dust`
#### 🍺 Homebrew (Mac OS) #### 🍺 Homebrew (Mac OS)
* `brew install dust` - `brew install dust`
#### 🍺 Homebrew (Linux) #### 🍺 Homebrew (Linux)
* `brew tap tgotwig/linux-dust && brew install dust` - `brew tap tgotwig/linux-dust && brew install dust`
#### [Pacstall](https://github.com/pacstall/pacstall) (Debian/Ubuntu) #### [Pacstall](https://github.com/pacstall/pacstall) (Debian/Ubuntu)
* `pacstall -I dust-bin` - `pacstall -I dust-bin`
#### Windows: #### Windows:
* Windows GNU version - works
* Windows MSVC - requires: [VCRUNTIME140.dll](https://docs.microsoft.com/en-gb/cpp/windows/latest-supported-vc-redist?view=msvc-170) - Windows GNU version - works
- Windows MSVC - requires: [VCRUNTIME140.dll](https://docs.microsoft.com/en-gb/cpp/windows/latest-supported-vc-redist?view=msvc-170)
#### Download #### Download
* Download Linux/Mac binary from [Releases](https://github.com/bootandy/dust/releases) - Download Linux/Mac binary from [Releases](https://github.com/bootandy/dust/releases)
* unzip file: `tar -xvf _downloaded_file.tar.gz` - unzip file: `tar -xvf _downloaded_file.tar.gz`
* move file to executable path: `sudo mv dust /usr/local/bin/` - move file to executable path: `sudo mv dust /usr/local/bin/`
## Overview ## Overview
@@ -73,14 +74,13 @@ Usage: dust -v regex (Exclude files matching this regex (eg dust -v "\.png$" wou
``` ```
## Alternatives ## Alternatives
* [NCDU](https://dev.yorhel.nl/ncdu) - [NCDU](https://dev.yorhel.nl/ncdu)
* [dutree](https://github.com/nachoparker/dutree) - [dutree](https://github.com/nachoparker/dutree)
* [dua](https://github.com/Byron/dua-cli/) - [dua](https://github.com/Byron/dua-cli/)
* [pdu](https://github.com/KSXGitHub/parallel-disk-usage) - [pdu](https://github.com/KSXGitHub/parallel-disk-usage)
* [dirstat-rs](https://github.com/scullionw/dirstat-rs) - [dirstat-rs](https://github.com/scullionw/dirstat-rs)
* du -d 1 -h | sort -h - du -d 1 -h | sort -h
Note: Apparent-size is calculated slightly differently in dust to gdu. In dust each hard link is counted as using file_length space. In gdu only the first entry is counted. Note: Apparent-size is calculated slightly differently in dust to gdu. In dust each hard link is counted as using file_length space. In gdu only the first entry is counted.