diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-11-11 20:39:37 -0500 |
---|---|---|
committer | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-11-17 00:17:05 -0500 |
commit | 4997d93b498094248bdc0669d9515f28f7a156ef (patch) | |
tree | 1a9dbdd9a9472f1e3f7120afe24b942f3e394eb3 | |
parent | 5db3f8ac3ddfcf8ceb92db6ce69884ad5ffaa498 (diff) | |
download | meson-4997d93b498094248bdc0669d9515f28f7a156ef.zip meson-4997d93b498094248bdc0669d9515f28f7a156ef.tar.gz meson-4997d93b498094248bdc0669d9515f28f7a156ef.tar.bz2 |
fs: add docs for fs.size()
-rw-r--r-- | docs/markdown/Fs-module.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/Fs-module.md b/docs/markdown/Fs-module.md index 423ec8e..87cbe1a 100644 --- a/docs/markdown/Fs-module.md +++ b/docs/markdown/Fs-module.md @@ -39,6 +39,11 @@ by the string is a symbolic link. The `fs.hash(filename)` method computes the requested hash sum of a file. The available hash methods include: md5, sha1, sha224, sha256, sha384, sha512. +### size + +The `fs.size(filename)` method returns the size of the file in bytes. +Symlinks will be resolved if possible. + ### samefile The `fs.samefile(filename1, filename2)` method allows determining if two filenames refer to the same file. |