Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 971 for directory1 (0.16 sec)

  1. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileCodecs.kt

    import org.gradle.internal.serialize.graph.writeFile
    
    
    class DirectoryCodec(private val fileFactory: FileFactory) : Codec<Directory> {
        override suspend fun WriteContext.encode(value: Directory) {
            writeFile(value.asFile)
        }
    
        override suspend fun ReadContext.decode(): Directory {
            return fileFactory.dir(readFile())
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/initialization/layout/BuildLayoutFactoryTest.groovy

            layout.settingsFile == settingsFile
            !layout.buildDefinitionMissing
    
            where:
            settingsFilename << TEST_CASES
        }
    
        def "returns current directory when no ancestor directory contains a settings file or build file"() {
            given:
            def locator = buildLayoutFactoryFor()
    
            and: "temporary tree created out of the Gradle build tree"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java

        File missing;
        Path missingPath;
        File directory;
        Path directoryPath;
        File realFile;
        Path realFilePath;
    
        @Setup
        public void prepare() throws IOException {
            accessor = getAccessor(accessorClassName);
            missing = new File(UUID.randomUUID().toString());
            missingPath = missing.toPath();
            directory = File.createTempFile("jmh", "dir");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/embed/embed.go

    	}
    	n := copy(b, f.f.data[offset:])
    	if n < len(b) {
    		return n, io.EOF
    	}
    	return n, nil
    }
    
    // An openDir is a directory open for reading.
    type openDir struct {
    	f      *file  // the directory file itself
    	files  []file // the directory contents
    	offset int    // the read offset, an index into the files slice
    }
    
    func (d *openDir) Close() error               { return nil }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go

    	if _, err := os.Stat(path); os.IsNotExist(err) {
    		t.Errorf("file/directory does not exist; error: %s", err)
    		t.Errorf("file/directory does not exist: %s", path)
    	}
    }
    
    func assertNotExists(t *testing.T, path string) {
    	if _, err := os.Stat(path); err == nil {
    		t.Errorf("file/dir exists: %s", path)
    	}
    }
    
    // assertDirEmpty verifies a directory either does not exist, or is empty.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. pkg/volume/git_repo/git_repo.go

    	}
    	if err := validateNonFlagArgument(src.Directory, "directory"); err != nil {
    		return err
    	}
    	if (src.Revision != "") && (src.Directory != "") {
    		cleanedDir := filepath.Clean(src.Directory)
    		if strings.Contains(cleanedDir, "/") || (strings.Contains(cleanedDir, "\\")) {
    			return fmt.Errorf("%q is not a valid directory, it must not contain a directory separator", src.Directory)
    		}
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    The directory `buildSrc` is treated as an <<composite_builds.adoc#composite_build_intro,included build>>. Upon discovery of the directory, Gradle automatically compiles this code and puts it in the classpath of your build script.
    For multi-project builds there can be only one `buildSrc` directory, which has to sit in the root project directory.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/UndefinedBuildExecutionIntegrationTest.groovy

        }
    
        def "fails when attempting to execute tasks #tasks in directory with no settings or build file"() {
            when:
            fails(*tasks)
    
            then:
            failure.assertHasDescription("Directory '$testDirectory' does not contain a Gradle build.")
            failure.assertHasResolutions(
                "Run gradle init to create a new Gradle build in this directory.",
                STACKTRACE_MESSAGE,
                INFO_DEBUG,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/os/path_windows.go

    			// Already extended with \\?\ or any combination of directory separators.
    			return path
    		}
    	}
    
    	// Do nothing (and don't allocate) if the path is "short".
    	// Empirically (at least on the Windows Server 2013 builder),
    	// the kernel is arbitrarily okay with < 248 bytes. That
    	// matches what the docs above say:
    	// "When using an API to create a directory, the specified
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/os/path.go

    package os
    
    import (
    	"internal/filepathlite"
    	"syscall"
    )
    
    // MkdirAll creates a directory named path,
    // along with any necessary parents, and returns nil,
    // or else returns an error.
    // The permission bits perm (before umask) are used for all
    // directories that MkdirAll creates.
    // If path is already a directory, MkdirAll does nothing
    // and returns nil.
    func MkdirAll(path string, perm FileMode) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top