Add notes for os.Stat (Hugo 0.47) (#557)

This commit is contained in:
satotake authored and Kaushal Modi committed 2018-09-08 23:24:57 -04:00
1 parent e49f65bb3c
commit af14497c68
2 files changed
+46

No files matched your search

+13
View File
@@ -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": [