diff options
Diffstat (limited to 'docs/markdown/Fs-module.md')
-rw-r--r-- | docs/markdown/Fs-module.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/markdown/Fs-module.md b/docs/markdown/Fs-module.md index e5941a9..29273de 100644 --- a/docs/markdown/Fs-module.md +++ b/docs/markdown/Fs-module.md @@ -62,7 +62,7 @@ fs.is_absolute('foo/bar') # false, even if ./foo/bar exists ### hash The `fs.hash(filename, hash_algorithm)` method returns a string containing -the hexidecimal `hash_algorithm` digest of a file. +the hexadecimal `hash_algorithm` digest of a file. `hash_algorithm` is a string; the available hash algorithms include: md5, sha1, sha224, sha256, sha384, sha512. @@ -84,7 +84,7 @@ Examples: x = 'foo.txt' y = 'sub/../foo.txt' z = 'bar.txt' # a symlink pointing to foo.txt -j = 'notafile.txt' # non-existant file +j = 'notafile.txt' # non-existent file fs.is_samepath(x, y) # true fs.is_samepath(x, z) # true @@ -93,7 +93,7 @@ fs.is_samepath(x, j) # false p = 'foo/bar' q = 'foo/bar/baz/..' r = 'buz' # a symlink pointing to foo/bar -s = 'notapath' # non-existant directory +s = 'notapath' # non-existent directory fs.is_samepath(p, q) # true fs.is_samepath(p, r) # true |