diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-05 20:07:21 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-06 21:16:08 +0200 |
commit | 326f3e8646e66534eb1cdaf776bd7db017e1311b (patch) | |
tree | 71bdd3781768581d4eb0b3168e8b1c56cec42580 /docs/markdown/snippets | |
parent | aba8792b6657e3aa380586764a8b3ec567895a28 (diff) | |
download | meson-fs.tar.gz |
Created the filesystem module.fs
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/fsmodule.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/markdown/snippets/fsmodule.md b/docs/markdown/snippets/fsmodule.md new file mode 100644 index 000000000..d668b184d --- /dev/null +++ b/docs/markdown/snippets/fsmodule.md @@ -0,0 +1,10 @@ +## A new module for filesystem operations + +The new `fs` module can be used to examine the contents of the current +file system. + +```meson +fs = import('fs') +assert(fs.exists('important_file'), + 'The important file is missing.') +``` |