Skip to content

Commit

Permalink
Add more example usages of mode arg
Browse files Browse the repository at this point in the history
  • Loading branch information
adigitoleo committed Jun 3, 2024
1 parent 4f4d2f4 commit 78351b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2666,7 +2666,7 @@ If `offset` is nil or omitted, it will default to `-1`, which indicates 'use and

**Parameters:**
- `path`: `string`
- `mode`: `integer` (octal representation of `chmod(1)` mode)
- `mode`: `integer` (octal `chmod(1)` mode, e.g. `tonumber('755', 8)`)
- `callback`: `callable` (async version) or `nil` (sync version)
- `err`: `nil` or `string`
- `success`: `boolean` or `nil`
Expand Down Expand Up @@ -2914,7 +2914,7 @@ Returns `true` or `false` indicating access permission.

**Parameters:**
- `path`: `string`
- `mode`: `integer` (octal representation of `chmod(1)` mode)
- `mode`: `integer` (octal `chmod(1)` mode, e.g. `tonumber('644', 8)`)
- `callback`: `callable` (async version) or `nil` (sync version)
- `err`: `nil` or `string`
- `success`: `boolean` or `nil`
Expand Down

0 comments on commit 78351b6

Please sign in to comment.