diff options
| author | MiroPalmu <104301888+MiroPalmu@users.noreply.github.com> | 2023-07-12 13:24:29 +0300 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-07-13 01:59:04 -0400 |
| commit | 61984bcfa3e4e758d18174d13aa0aaedbf406889 (patch) | |
| tree | ca047eec37ebd028636379d6c1b780c54dc214b4 /docs/markdown/Fs-module.md | |
| parent | e2ce53b6b48091196d125be671a8453896b8275a (diff) | |
| download | meson-61984bcfa3e4e758d18174d13aa0aaedbf406889.tar.gz | |
Add import instructions for filesystem module
Diffstat (limited to 'docs/markdown/Fs-module.md')
| -rw-r--r-- | docs/markdown/Fs-module.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/Fs-module.md b/docs/markdown/Fs-module.md index e230ec526..cc67355b5 100644 --- a/docs/markdown/Fs-module.md +++ b/docs/markdown/Fs-module.md @@ -7,6 +7,14 @@ Since 0.59.0, all functions accept `files()` objects if they can do something useful with them (this excludes `exists`, `is_dir`, `is_file`, `is_absolute` since a `files()` object is always the absolute path to an existing file). +## Usage + +The module may be imported as follows: + +``` meson +fs = [[#import]]('fs') +``` + ## File lookup rules Non-absolute paths are looked up relative to the directory where the |
