aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2021-04-02 13:46:43 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2021-05-08 21:34:00 +0300
commit247630b98172221718bce202c9fe144d9694892c (patch)
treebbd229d79bcff082bbf7e925d6a32f18d67fc619 /docs/markdown/snippets
parentaa700fe9821c1472f2e8707f5df6d8058547e43f (diff)
downloadmeson-247630b98172221718bce202c9fe144d9694892c.zip
meson-247630b98172221718bce202c9fe144d9694892c.tar.gz
meson-247630b98172221718bce202c9fe144d9694892c.tar.bz2
modules/fs: support FileOrString arguments
With this change File objects created with the builtin files() function can be used with the fs submodule like normal strings. All methods that seem reasonable support FileOrSting arguments. For example fs.exists() still only takes str arguments because meson already ensures that File objects do exist when creating them with files(). Each user facing function of the fs module has an additional FeatureNew check when used with File objects. The test cases for fs are extended appropriately with tests for File objects.
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions