aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroPalmu <104301888+MiroPalmu@users.noreply.github.com>2023-07-12 13:24:29 +0300
committerEli Schwartz <eschwartz93@gmail.com>2023-07-13 01:59:04 -0400
commit61984bcfa3e4e758d18174d13aa0aaedbf406889 (patch)
treeca047eec37ebd028636379d6c1b780c54dc214b4
parente2ce53b6b48091196d125be671a8453896b8275a (diff)
downloadmeson-61984bcfa3e4e758d18174d13aa0aaedbf406889.zip
meson-61984bcfa3e4e758d18174d13aa0aaedbf406889.tar.gz
meson-61984bcfa3e4e758d18174d13aa0aaedbf406889.tar.bz2
Add import instructions for filesystem module
-rw-r--r--docs/markdown/Fs-module.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/Fs-module.md b/docs/markdown/Fs-module.md
index e230ec5..cc67355 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