aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/fsmodule.md
blob: d668b184de6d8b2aa150968476853ef68fd750bb (plain)
1
2
3
4
5
6
7
8
9
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.')
```