Documentation
¶
Overview ¶
return non-directory portion of a pathname.
SYNOPSIS
basename STRING [suffix]
DESCRIPTION ¶
basename deletes any prefix ending with the last slash ("/") character present in STRING, and a suffix, if given. The resulting filename is written to the standard output. A non-existent suffix is ignored.
SEE ALSO
https://golang.org/pkg/path/filepath/#Base
REFERENCES
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/basename.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.