少于1分钟
将以下英文翻译为中文:
https://gohugo.io/functions/path.clean/
Replaces path separators with slashes (/
) and removes extraneous separators.
path.Clean PATH
path.Clean
replaces path separators with slashes (/
) and removes extraneous separators, including trailing separators.
|
|
On a Windows system, if .File.Path
is foo\bar.md
, then:
|
|