os.Stat
少于1分钟
将以下英文翻译为中文:
os.Stat
https://gohugo.io/functions/os.stat/
Returns a FileInfo structure describing a file or directory.
语法
os.Stat PATH
The os.Stat function attempts to resolve the path relative to the root of your project directory. If a matching file or directory is not found, it will attempt to resolve the path relative to the contentDir. A leading path separator (/) is optional.
| |
Details of the FileInfo structure are available in the Go documentation.
另请参阅
最后修改 June 1, 2023: 新增一个配置参数:sidebar_menu_truncate = 500 用于解决菜单不全的问题 (27810f1)