mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 12:16:55 +00:00
Add notes for os.Stat (Hugo 0.47) (#557)
This commit is contained in:
1 parent
e49f65bb3c
commit
af14497c68
2 files changed
+46
No files matched your search
@@ -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": [
|
||||
|
||||
Reference in new issue
Block a user