summaryrefslogtreecommitdiffstats
path: root/docs/data/docs.json
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-09-14 08:35:23 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-09-14 08:35:23 +0200
commitb7ca3e1b3a83ef27bef841c319edb5b377cc4102 (patch)
tree9f93b8449d3c12312414f79a71e0d30dc248fd8b /docs/data/docs.json
parent9b26b5487b5c5142fe9fb58681fe7d1dac95a291 (diff)
parent13e64d72763bf8d6d92d4cdfc15ed45ee9debfab (diff)
Diffstat (limited to 'docs/data/docs.json')
-rw-r--r--docs/data/docs.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/data/docs.json b/docs/data/docs.json
index 3ed3ab232..f13af5de3 100644
--- a/docs/data/docs.json
+++ b/docs/data/docs.json
@@ -2838,6 +2838,19 @@
}
},
"os": {
+ "Stat": {
+ "Description": "Stat returns a file infomation under the given path.",
+ "Args": [
+ "i"
+ ],
+ "Aliases": null,
+ "Examples": [
+ [
+ "{{ (os.Stat \"foo.txt\").Name }}",
+ "foo.txt"
+ ]
+ ]
+ },
"FileExists": {
"Description": "FileExists checks whether a file exists under the given path.",
"Args": [