From 61984bcfa3e4e758d18174d13aa0aaedbf406889 Mon Sep 17 00:00:00 2001 From: MiroPalmu <104301888+MiroPalmu@users.noreply.github.com> Date: Wed, 12 Jul 2023 13:24:29 +0300 Subject: [PATCH] Add import instructions for filesystem module --- docs/markdown/Fs-module.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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