Skip to content

Commit 9a930af

Browse files
committed
Fix grammar
1 parent a002b28 commit 9a930af

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Please see the [types full documentation](docs/types.md).
130130

131131
## convert.octal|number|stat|symbolic|object(permission)
132132

133-
Convert `permission` to another type.<br>
133+
Converts `permission` to another type.<br>
134134
[Full documentation](docs/API.md#convertoctalnumberstatsymbolicobjectpermission).
135135

136136
## type(permission)
@@ -140,13 +140,13 @@ Returns the `permission`'s type or `invalid`.<br>
140140

141141
## normalize(permission)
142142

143-
Normalize a `permission` to its canonical shape. Throw if `permission` is
143+
Normalizes a `permission` to its canonical shape. Throw if `permission` is
144144
invalid.<br>
145145
[Full documentation](docs/API.md#normalizepermission).
146146

147147
## positive(permission)
148148

149-
Remove all negative permissions.<br>
149+
Removes all negative permissions.<br>
150150
[Full documentation](docs/API.md#positivepermission).
151151

152152
## contain(permission, permissions...)
@@ -161,7 +161,7 @@ Tests whether `permission` equals exactly `permissions`.<br>
161161

162162
## set(permission, permissions...)
163163

164-
Set `permissions` on `permission`. This is useful to avoid error-prone bitwise
164+
Sets `permissions` on `permission`. This is useful to avoid error-prone bitwise
165165
operations (`|`, `&`, `^`, `~`).<br>
166166
[Full documentation](docs/API.md#setpermission-permissions).
167167

@@ -178,12 +178,12 @@ Inverts `permission` and removes special permissions.<br>
178178

179179
## min(permissions...)
180180

181-
Retrieve the lowest permissions among all arguments.<br>
181+
Retrieves the lowest permissions among all arguments.<br>
182182
[Full documentation](docs/API.md#minpermissions).
183183

184184
## max(permissions...)
185185

186-
Retrieve the highest permissions among all arguments.<br>
186+
Retrieves the highest permissions among all arguments.<br>
187187
[Full documentation](docs/API.md#maxpermissions).
188188

189189
# Contributors

docs/API.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ console.log(type('a+x')) // 'symbolic'
5555

5656
## normalize(permission)
5757

58-
Normalize a `permission` to its canonical shape.
58+
Normalizes a `permission` to its canonical shape.
5959

60-
Throw an exception if `permission` is invalid.
60+
Throws an exception if `permission` is invalid.
6161

6262
<!-- eslint-disable line-comment-position, no-inline-comments -->
6363

@@ -76,7 +76,7 @@ console.log(normalize('z+x')) // Throws an exception
7676

7777
## positive(permission)
7878

79-
Remove all negative permissions. See
79+
Removes all negative permissions. See
8080
[convert()](#convertoctalnumberstatsymbolicobjectpermission) for more
8181
explanation.
8282

@@ -236,7 +236,7 @@ console.log(invert('1660')) // '0117'
236236

237237
## min(permissions...)
238238

239-
Retrieve the lowest permissions among all arguments.
239+
Retrieves the lowest permissions among all arguments.
240240

241241
This does not return the lowest argument. Instead it returns a combination
242242
of the lowest bits of all arguments.

0 commit comments

Comments
 (0)