chore: fix function names in comment

Signed-off-by: hongkuang <liurenhong@outlook.com>
This commit is contained in:
hongkuang
2024-04-07 16:17:09 +08:00
committed by Ron Evans
parent 22bf045c9a
commit 1154212c15
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ func joinPath(dir, name string) string {
return dir + string(PathSeparator) + name
}
// LastIndexByte from the strings package.
// lastIndex from the strings package.
func lastIndex(s string, sep byte) int {
for i := len(s) - 1; i >= 0; i-- {
if s[i] == sep {