Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 6,891 for FILE (0.04 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessTest.groovy

        def "can read a filtered tree of #type including the file"() {
            def file = temporaryFolder."${method}"("file")
            when:
            allowFileSystemAccess(true)
            def snapshot = read(file, new FileNameFilter({ true }))
            then:
            snapshot == read(file)
    
            where:
            type           | method
            'missing file' | 'file'
            'regular file' | 'createFile'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/PublishArtifactNotationParserFactoryTest.groovy

        }
    
        def "creates artifact from extension-less file"() {
            def file = new File("someFile")
    
            when:
            def publishArtifact = publishArtifactNotationParser.parseNotation(file)
    
            then:
            publishArtifact instanceof DefaultPublishArtifact
            publishArtifact.file == file
            publishArtifact.name == 'someFile'
            publishArtifact.type == ''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

        }
    
        def "reports undeclared file system entry check for File.#kind"() {
            Assume.assumeFalse("cannot use the file APIs in restricted DSL", isRestrictedDsl())
    
            def configurationCache = newConfigurationCacheFixture()
    
            UndeclaredFileAccess.FileCheck check = fileCheck(testDirectory)
            buildLogicApplication(check)
            def accessedFile = new File(check.filePath)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

    import org.apache.tools.bzip2.CBZip2OutputStream
    
    import java.nio.file.Files
    import java.nio.file.attribute.PosixFilePermissions
    import java.util.zip.GZIPOutputStream
    import java.util.zip.ZipInputStream
    
    import static org.hamcrest.CoreMatchers.equalTo
    import static org.hamcrest.MatcherAssert.assertThat
    import static org.junit.Assert.assertTrue
    
    class TestFileHelper {
        TestFile file
    
        TestFileHelper(TestFile file) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/UntrackedTaskIntegrationTest.groovy

        def "does not clean up stale outputs for untracked tasks"() {
            def untrackedStaleFile = file("build/untracked/stale-output-file").createFile()
            def untrackedOutputFile = file("build/untracked/output.txt")
            def trackedStaleFile = file("build/tracked/stale-output-file").createFile()
            def trackedOutputFile = file("build/tracked/output.txt")
    
            buildFile("""
                apply plugin: 'base'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 23 08:05:53 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

            file("first/gradle/wrapper/gradle-wrapper.properties").md5Hash == file("second/gradle/wrapper/gradle-wrapper.properties").md5Hash
            file("first/gradlew").md5Hash == file("second/gradlew").md5Hash
            file("first/gradlew.bat").md5Hash == file("second/gradlew.bat").md5Hash
        }
    
        def "generated wrapper does not change unnecessarily"() {
            def wrapperJar = file("gradle/wrapper/gradle-wrapper.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy

            "File = T extends FileSystemLocation"           | "File"     | 'layout.buildDirectory.dir("out").get()' | unsupportedWithCause("Cannot cast object")
            "File = Provider<T extends FileSystemLocation>" | "File"     | 'layout.buildDirectory.dir("out")'       | unsupportedWithCause("Cannot cast object")
            "File = File"                                   | "File"     | 'file("$buildDir/out")'                  | "out"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 28 14:39:49 UTC 2023
    - 36.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFilePropertyFactory.java

     */
    
    package org.gradle.api.internal.file;
    
    import org.gradle.api.Transformer;
    import org.gradle.api.file.Directory;
    import org.gradle.api.file.DirectoryProperty;
    import org.gradle.api.file.FileCollection;
    import org.gradle.api.file.FileSystemLocation;
    import org.gradle.api.file.FileSystemLocationProperty;
    import org.gradle.api.file.FileTree;
    import org.gradle.api.file.RegularFile;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

       *
       * <p><b>Warning:</b> If {@code to} represents an existing file, that file will be overwritten
       * with the contents of {@code from}. If {@code to} and {@code from} refer to the <i>same</i>
       * file, the contents of that file will be deleted.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link
       * java.nio.file.Files#copy(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...)}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  10. src/os/file_plan9.go

    // name. The returned value will be nil if fd is not a valid file
    // descriptor.
    func NewFile(fd uintptr, name string) *File {
    	fdi := int(fd)
    	if fdi < 0 {
    		return nil
    	}
    	f := &File{&file{fd: fdi, name: name}}
    	runtime.SetFinalizer(f.file, (*file).close)
    	return f
    }
    
    // Auxiliary information if the File describes a directory
    type dirInfo struct {
    	mu   sync.Mutex
    	buf  [syscall.STATMAX]byte // buffer for directory I/O
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top