Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TrimString (0.06 sec)

  1. internal/logger/logger.go

    	trimStrings = append(trimStrings, filepath.Join("github.com", "minio", "minio")+string(filepath.Separator))
    }
    
    func trimTrace(f string) string {
    	for _, trimString := range trimStrings {
    		f = strings.TrimPrefix(filepath.ToSlash(f), filepath.ToSlash(trimString))
    	}
    	return filepath.FromSlash(f)
    }
    
    func getSource(level int) string {
    	pc, file, lineNumber, ok := runtime.Caller(level)
    	if ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top