Skip to content

Commit

Permalink
docs: add is_exec and is_sticky to Cha (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi authored Apr 23, 2024
1 parent 72776e0 commit a442e16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/plugins/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Cha means one file's characteristics with the following properties:
- `is_char_device` - Whether this file is a character device
- `is_fifo` - Whether this file is a fifo
- `is_socket` - Whether this file is a socket
- `is_exec` - Whether this file is executable
- `is_sticky` - Whether this file has the sticky bit set
- `length` - The length of this file, returns an integer representing the size in bytes. Note that it can't reflect the size of a directory, use [`size()`](#app-data.folder-file) instead
- `created` - The created time of this file in Unix timestamp, or `nil` if it doesn't have a valid time
- `modified` - The modified time of this file in Unix timestamp, or `nil` if it doesn't have a valid time
Expand Down

0 comments on commit a442e16

Please sign in to comment.