Skip to content

Commit

Permalink
docs: unify the term used for file size evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Apr 12, 2024
1 parent d305a96 commit 32949dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugins/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Meta methods:

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

- `size()` - The size of this file, returns an integer representing the size in bytes, or `nil` if its a directory and it has not been scanned
- `size()` - The size of this file, returns an integer representing the size in bytes, or `nil` if its a directory and it has not been evaluated
- `mime()` - The mime-type of this file, which is a string, or `nil` if it's a directory or hasn't been lazily calculated at all
- `prefix()` - The prefix of this file relative to `CWD`, which used in the flat view during search. For instance, if `CWD` is `/foo`, and the file is `/foo/bar/baz`, then the prefix is `bar/`
- `icon()` - The [Icon](#shared.icon) of this file, [`[icon]`](/docs/configuration/theme#icon) rules are applied; if no rule matches, returns `nil`
Expand Down

0 comments on commit 32949dd

Please sign in to comment.