- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 311 for printfile (0.18 sec)
-
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy
when: cleanupAction(finder([cacheEntry.parentFile]), { true }) .clean(cleanableStore, progressMonitor) then: 1 * progressMonitor.incrementDeleted() cacheEntry.assertDoesNotExist() cacheEntry.parentFile.assertDoesNotExist() deletedFiles == [cacheEntry.parentFile] } def "deletes empty parent directories"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/PCHUtilsTest.groovy
getTempDir() >> tempDir } when: def generated = PCHUtils.generatePCHSourceFile(spec, sourceFile) then: generated.name == "test.${extension}" generated.parentFile == pchSourceDir generated.text == "#include \"test.h\"" pchSourceDir.assertContainsDescendants("test.h", "test.${extension}") where: type | extension
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.2K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidSantaTrackerSmokeTest.groovy
if (!androidLock.exists()) { androidLock.parentFile.mkdirs() androidLock.createNewFile() } def androidFakeDependency = new File(gradleHome, "android/FakeDependency.jar") if (!androidFakeDependency.exists()) { androidFakeDependency.parentFile.mkdirs() new JarOutputStream(new FileOutputStream(androidFakeDependency)).close()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.3K bytes - Viewed (0) -
src/mime/quotedprintable/writer.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package quotedprintable import "io" const lineMaxLen = 76 // A Writer is a quoted-printable writer that implements [io.WriteCloser]. type Writer struct { // Binary mode treats the writer's input as pure binary and processes end of // line bytes as binary data. Binary bool w io.Writer i int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/PathFactoryTest.groovy
path.url == 'file://$ROOT_DIR$/../../a/b' path.relPath == '$ROOT_DIR$/../../a/b' } def createsRelativePathForASiblingOfRootDir() { factory.addPathVariable('ROOT_DIR', tmpDir.testDirectory) expect: def path = factory.relativePath('ROOT_DIR', tmpDir.testDirectory.parentFile.file('a'))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/ide/tooling-api/buildship.gradle
def manifestFile = new File(projectDirectory, "META-INF/MANIFEST.MF") if (!manifestFile.parentFile.exists()) { def success = manifestFile.parentFile.mkdirs() if (!success) { throw new GradleException("Unable to create directory ${manifestFile.parentFile.absolutePath}") } } manifestFile.text = calculateManifest(projectVersion.get(), jarFile)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 5.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy
*/ protected void publish(TestFile file, @DelegatesTo(value=Writer, strategy=Closure.DELEGATE_FIRST) Closure cl, byte[] content = null) { file.parentFile.mkdirs() def hashBefore = file.exists() ? Hashing.sha1().hashFile(file) : null def tmpFile = file.parentFile.file("${file.name}.tmp") if (content) { tmpFile.bytes = content } else if (isJarFile(file)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/TestWithClassPath.kt
newFolder().also { rootDir -> for ((path, bytes) in classEntriesFor(classes)) { File(rootDir, path).apply { parentFile.mkdirs() writeBytes(bytes) } } } ) } internal fun TestWithTempFiles.classPathWithPublicType(name: String) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/AbstractSymlinkDeleterTest.groovy
Assume.assumeTrue(canCreateSymbolicLinkToDirectory()) given: def keepTxt = tmpDir.createFile("originalDir", "keep.txt") def originalDir = keepTxt.parentFile def link = new File(tmpDir.getTestDirectory(), "link") when: createSymbolicLink(link, originalDir) then: link.exists() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/SourceFoldersCreator.java
for (SourceFolder folder : externalSourceFolders) { folder.trim(); File parentFile = folder.getDir().getParentFile(); while (givenSources.contains(folder.getName()) && parentFile != null) { folder.trim(parentFile.getName()); parentFile = parentFile.getParentFile(); } givenSources.add(folder.getName());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 13:57:30 UTC 2024 - 14.8K bytes - Viewed (0)