- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toSlash (0.09 sec)
-
internal/logger/logger.go
} 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 { // Clean up the common prefixes
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 22 09:43:48 UTC 2024 - 12.4K bytes - Viewed (0) -
cmd/generic-handlers.go
// path cannot be greater than Linux PATH_MAX // this is to avoid a busy loop, that can happen // if the caller sends path of following style // a/a/a/a/a/a/a/a... return true } path = filepath.ToSlash(strings.TrimSpace(path)) // For windows '\' must be converted to '/' for _, p := range strings.Split(path, SlashSeparator) { switch strings.TrimSpace(p) { case dotdotComponent: return true case dotComponent:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 20.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* 代入可能かどうかを返します。 * * @param toClass * 代入先のクラス。{@literal null}であってはいけません * @param fromClass * 代入元のクラス。{@literal null}であってはいけません * @return 代入可能かどうか * @see Class#isAssignableFrom(Class) */ public static boolean isAssignableFrom(final Class<?> toClass, Class<?> fromClass) { assertArgumentNotNull("toClass", toClass);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 27.5K bytes - Viewed (0)