Skip to content

Commit

Permalink
docs: add the trash specification link to the remove command
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Jan 9, 2024
1 parent d789358 commit b8dbe0e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ If you haven't created and used your own configuration file yet, please see [Con
- `--relative`: Use a relative path for the symbolic link.
- `--force`: Overwrite the destination file if it exists.

- remove: Move the files to the trash/recycle bin.
- remove: Move the files to the trash/recycle bin on macOS/Windows. For Linux, it will follow [The FreeDesktop.org Trash specification](https://specifications.freedesktop.org/trash-spec/trashspec-1.0.html).

- `--force`: Don't show the confirmation dialog, and trash/delete files directly.
- `--permanently`: Permanently delete the files.
Expand Down
46 changes: 44 additions & 2 deletions docs/plugin/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ Meta methods:
- `__len()`
- `__pairs()`

### `folder:File`
### `folder::File`

Based on [File](#file), with the following additional methods:

Expand Down Expand Up @@ -593,16 +593,58 @@ Properties:

## Isolate context

### fs

TODO

### fs
Functions:

- `write(url, data)`
- `metadata(url)`
- `symlink_metadata(url)`

### Child

TODO

Methods:

- `read(len)`
- `read_line()`
- `read_line_with(opts)`
- `wait()`
- `start_kill()`

### Command

TODO

Methods:

- `arg(arg)`
- `args(args)`
- `env(key, value)`
- `stdin(cfg)`
- `stdout(cfg)`
- `stderr(cfg)`
- `spawn()`
- `output()`

### Output

TODO

Properties:

- `status`
- `stdout`
- `stderr`

### Status

Methods:

- `success()`
- `code()`

TODO

0 comments on commit b8dbe0e

Please sign in to comment.