fix(supply-api): restore uncached build health

This commit is contained in:
Your Name
2026-04-17 16:20:34 +08:00
parent ad776e4079
commit 2e0f6e29aa
5 changed files with 43 additions and 14 deletions

View File

@@ -1,8 +1,6 @@
// Package pathutil provides path manipulation utilities.
package pathutil
import "strings"
// SplitPath splits a URL or file path by '/' and returns non-empty segments.
// Unlike strings.Split, this skips empty segments from leading/trailing/consecutive slashes.
func SplitPath(path string) []string {