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

Commit e5b5923

Browse files
committed
README: add precise typing information
1 parent 4f8c283 commit e5b5923

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ dropExtension("/directory/path.ext") == "/directory/path"
278278
Parameters:
279279

280280
`filepath`
281-
: path
281+
: path (string)
282282

283283
Returns:
284284

@@ -300,7 +300,7 @@ hasExtension("/directory/path") == false
300300
Parameters:
301301

302302
`filepath`
303-
: path
303+
: path (string)
304304

305305
Returns:
306306

@@ -317,7 +317,7 @@ Is a path absolute? (same as `! is_relative(filepath)`)
317317
Parameters:
318318

319319
`filepath`
320-
: path
320+
: path (string)
321321

322322
Returns:
323323

@@ -361,7 +361,7 @@ joinPath({"/","directory/","file.ext"}) == "/directory/file.ext"
361361
Parameters:
362362

363363
`filepaths`
364-
: list of paths
364+
: list of path strings
365365

366366
Returns:
367367

@@ -378,7 +378,7 @@ Normalise a path. See examples [here][System.FilePath.normalize].
378378
Parameters:
379379

380380
`filepath`
381-
: path
381+
: path (string)
382382

383383
Returns:
384384

@@ -401,7 +401,7 @@ splitDirectories("/test/file") == {"/","test","file"}
401401
Parameters:
402402

403403
`filepath`
404-
: path
404+
: path (string)
405405

406406
Returns:
407407

@@ -423,7 +423,7 @@ takeDirectory("/foo/bar/baz/") == "/foo/bar/baz"
423423
Parameters:
424424

425425
`filepath`
426-
: path path
426+
: path (string)
427427

428428
Returns:
429429

@@ -445,7 +445,7 @@ takeExtensions("file.tar.gz") == ".tar.gz
445445
Parameters:
446446

447447
`filepath`
448-
: path
448+
: path (string)
449449

450450
Returns:
451451

@@ -467,7 +467,7 @@ takeFileName("test/") == ""
467467
Parameters:
468468

469469
`filepath`
470-
: path
470+
: path (string)
471471

472472
Returns:
473473

0 commit comments

Comments
 (0)