少于1分钟
将以下英文翻译为中文:
https://gohugo.io/functions/path.base/
Base returns the last element of a path.
path.Base PATH
path.Base
returns the last element of PATH
.
If PATH
is empty, .
is returned.
Note: On Windows, PATH
is converted to slash (/
) separators.
|
|