INNER CODE UNIT · Go

samePath

uvwt/agentdock · cmd/agentdock-arbiter/main.go:110

func samePath(a, b string) bool {
	a, errA := filepath.Abs(a)
	b, errB := filepath.Abs(b)
	if errA != nil || errB != nil {
		return false
	}
	return strings.EqualFold(filepath.Clean(a), filepath.Clean(b))
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…