Skip to content
This repository was archived by the owner on Mar 22, 2021. It is now read-only.

Commit 941df96

Browse files
committed
README: fix typos and small errors
1 parent 8940449 commit 941df96

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,7 @@ Returns:
262262

263263
This library includes wrappers around the following functions from
264264
the [filepath] library for the current platform (POSIX or
265-
Windows). All examples below are for [POSIX
266-
systems].
265+
Windows). All examples below are for [POSIX systems].
267266

268267
#### drop_extension
269268

@@ -313,7 +312,7 @@ This function wraps [System.FilePath.hasExtension].
313312

314313
`is_absolute (filepath)`
315314

316-
Is a path absolute? (same as `! is_relative(filepath)`)
315+
Is a path absolute? (same as `not is_relative(filepath)`)
317316

318317
Parameters:
319318

@@ -377,6 +376,7 @@ This function wraps [System.FilePath.joinPath].
377376
`normalise (filepath)`
378377

379378
Normalise a path. See examples [here][System.FilePath.normalize].
379+
<!-- TODO explain so it becomes understandable without a link -->
380380

381381
Parameters:
382382

@@ -442,7 +442,7 @@ Get all extensions.
442442

443443
```lua
444444
takeExtensions("/directory/path.ext") == ".ext"
445-
takeExtensions("file.tar.gz") == ".tar.gz
445+
takeExtensions("file.tar.gz") == ".tar.gz"
446446
```
447447

448448
Parameters:

0 commit comments

Comments
 (0)