- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for _isRelative (0.12 sec)
-
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ClasspathTest.groovy
when: FileReference reference = classpath.fileReference(path) then: reference.path == path reference.relativeToPathVariable == isRelative where: path | isRelative '/simple/path' | false 'USER_LIB_PATH/file' | true } def 'create file reference from file'() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Mar 24 15:55:52 UTC 2024 - 7.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go
// necessary URL prefix (i.e. /api/v1/namespace/foo/service/bar/proxy/). isDifferentHost := url.Host != "" && url.Host != sourceURL.Host && url.Host != sourceRequestHost isRelative := !strings.HasPrefix(url.Path, "/") if isDifferentHost || isRelative { return url.String() } // Do not rewrite scheme and host if the Transport has empty scheme and host // when targetURL already contains the sourceRequestHost
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 8.8K bytes - Viewed (0)