- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for safePath (4.63 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PublishAndResolveIntegrationTest.groovy
tmpRepo.module('org.gradle.test', 'api', '1.1').publish() given: buildFile << """ task customPublish(type: Copy) { from "${safePath(tmpRepo.moduleDir('org.gradle.test', 'api'), '1.1')}" into "${safePath(ivyRepo.moduleDir('org.gradle.test', 'api'), '1.1')}" } ${taskWhichResolves('api', '1.1')} ${resolveTask}.dependsOn customPublish """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PathTraversalCheckerTest.groovy
unsafePath.contains(':') && !isWindows() ) expect: isUnsafePathName(unsafePath) !isUnsafePathName(safePath) where: unsafePath | safePath "/" | "foo/" "\\" | "foo\\" "/foo" | "foo" "\\foo" | "foo" "foo/.." | "foo/bar"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/DefaultImmutableCapability.java
// tested to reduce the number of collisions on a large dependency graph (performance test) int hash = safeHash(version); hash = 31 * hash + name.hashCode(); hash = 31 * hash + group.hashCode(); return hash; } private static int safeHash(@Nullable String o) { return o == null ? 0 : o.hashCode(); } @Override public String getGroup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.8K bytes - Viewed (0) -
docs/sts/.gitignore
.scrapy # Sphinx documentation docs/_build/ # PyBuilder target/ # Jupyter Notebook .ipynb_checkpoints # pyenv .python-version # celery beat schedule file celerybeat-schedule # SageMath parsed files *.sage.py # Environments .env .venv env/ venv/ ENV/ env.bak/ venv.bak/ # Spyder project settings .spyderproject .spyproject # Rope project settings .ropeproject
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jul 15 11:55:55 UTC 2020 - 1.2K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/ExternalResourceNameTest.groovy
} def "has equals and hashcode"() { def name = new ExternalResourceName(URI.create("http://host"), "a/b/c") def same = new ExternalResourceName(URI.create("http://host"), "a/b/c") def samePath = new ExternalResourceName(URI.create("http://host/a/b"), "c") def differentRoot = new ExternalResourceName(URI.create("http://other"), "a/b/c")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 02 17:19:47 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux.go
notMount = true } if !notMount { // It's already mounted, so check if it's bind-mounted to the same path samePath, err := checkSubPathFileEqual(subpath, bindPathTarget) if err != nil { return false, "", fmt.Errorf("error checking subpath mount info for %s: %s", bindPathTarget, err) } if !samePath { // It's already mounted but not what we want, unmount it if err = mounter.Unmount(bindPathTarget); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 12 14:09:11 UTC 2022 - 21.4K bytes - Viewed (0)