- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for relativize (0.31 sec)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() { override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult { val zipEntry = ZipEntry(dir.relativize(file).toString()) processEntry(zipEntry, builder) return FileVisitResult.CONTINUE } }) } @Throws(IOException::class)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 19:14:16 UTC 2024 - 7.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java
} ); } private static URI toUri(File projectRootDir, File file, String commitId) { try { URI relativeLocation = projectRootDir.toURI().relativize(file.toURI()); return new URI("https://github.com/gradle/gradle/blob/" + commitId + "/" + relativeLocation); } catch (URISyntaxException e) { throw new RuntimeException(e); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 7.7K bytes - Viewed (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
Files.walkFileTree(dir, object : SimpleFileVisitor<Path>() { override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult { val entryName = dir.relativize(file).joinToString(separator = "/") { it.toString() } jarStream.putNextEntry(JarEntry(entryName)) Files.copy(file, jarStream)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 19:14:16 UTC 2024 - 5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
Path topDirectory = session.getTopDirectory(); if (topDirectory != null && current.startsWith(topDirectory)) { current = topDirectory.relativize(current); } logger.info(" from " + current); } // ----------[ packaging ]----------
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
} return packaged; } private Path relativizeOutputFile(final Path outputFile) { Path rootDirectory = session.getRequest().getRootDirectory(); return rootDirectory.relativize(outputFile); } /** * Tries to resolve the specified artifact from the artifacts of the given project. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 22.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
try (Stream<Path> paths = Files.walk(basePath)) { paths.filter(path -> path.toFile().getName().endsWith(imageExtention)).forEach(path -> { final Path subPath = basePath.relativize(path); final String docId = subPath.toString().replace("/", StringUtil.EMPTY).replace(suffix, StringUtil.EMPTY); if (!docId.startsWith("_")) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 21.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
/** * A path translator that resolves relative paths against a specific base directory. * */ public class BasedirBeanConfigurationPathTranslator implements BeanConfigurationPathTranslator { private final File basedir; /** * Creates a new path translator using the specified base directory. * * @param basedir The base directory to resolve relative paths against, may be {@code null} to disable path
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java
public String getLocation() { return location; } @Override public Source resolve(String relative) { return new PathSource(path.resolve(relative)); } @Override public ModelSource resolve(ModelLocator locator, String relative) { String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar); Path path = getPath().getParent().resolve(norm);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Sep 18 11:42:07 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/en/overrides/main.html
</div> </div> <div id="announce-right" style="position: relative;"> <div class="item"> <a title="CryptAPI: Your easy to use, secure and privacy oriented payment gateway." style="display: block; position: relative;" href="https://cryptapi.io/" target="_blank"> <span class="sponsor-badge">sponsor</span>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 09:13:26 UTC 2024 - 5.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
Manifest manifest = manifestClasspath("file:/with/absolute.jar relative.jar relative/dir"); assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest)) .containsExactly( fullpath("/with/absolute.jar"), fullpath("base/relative.jar"), fullpath("base/relative/dir")) .inOrder(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 27.6K bytes - Viewed (0)