Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 3,426 for directory1 (0.17 sec)

  1. pkg/kubelet/kubeletconfig/util/files/files.go

    	} else if os.IsNotExist(err) {
    		return false, nil
    	} else {
    		return false, err
    	}
    }
    
    // EnsureDir ensures that a directory exists at `path`, and if it must create the directory any
    // necessary parent directories will also be created and the new directory will be empty.
    func EnsureDir(fs utilfs.Filesystem, path string) error {
    	// if dir exists, don't change it, but do report any unexpected errors
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 01:02:46 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy

            dirVar.set(dir3)
            tree.files == [] as Set
        }
    
        def "Directory.files are relative to the directory"() {
            def baseDir = tmpDir.createDir("base")
            def directory = factory.dir(baseDir)
    
            expect:
            directory.files("file1", "file2").files ==~ [baseDir.file("file1"), baseDir.file("file2")]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/tasks/Copy.java

        protected CopyAction createCopyAction() {
            File destinationDir = getDestinationDir();
            if (destinationDir == null) {
                throw new InvalidUserDataException("No copy destination directory has been specified, use 'into' to specify a target directory.");
            }
            return new FileCopyAction(getFileLookup().getFileResolver(destinationDir));
        }
    
        @Override
        protected CopySpecInternal createRootSpec() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work_vendor_modules_txt_conditional.txt

    # mode if the modules.txt specifies ## workspace (and only in
    # standard vendor if it doesn't).
    
    # vendor directory produced for workspace, workspace mode
    # runs in mod=vendor
    go work vendor
    cmp vendor/modules.txt want_workspace_modules_txt
    go list -f {{.Dir}} example.com/b
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]b
    
    # vendor directory produced for workspace, module mode
    # runs in mod=readonly
    env GOWORK=off
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

                        + this.numberOfLinks + ",deletePending=" + this.deletePending + ",directory=" + this.directory + "]");
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  7. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/EarPluginConvention.java

    @Deprecated
    public abstract class EarPluginConvention {
        /**
         * The name of the application directory, relative to the project directory.
         * Default is "src/main/application".
         */
        public abstract String getAppDirName();
    
        public abstract void setAppDirName(String appDirName);
    
        /**
         * Allows changing the application directory.
         * Default is "src/main/application".
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultGradleRunnerTest.groovy

        }
    
        def "throws exception if working directory is not provided when build is requested"() {
            when:
            createRunner().build()
    
            then:
            def t = thrown(InvalidRunnerConfigurationException)
            t.message == 'Please specify a project directory before executing the build'
        }
    
        def "throws exception if working directory is not provided when run is requested"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 13.2K bytes
    - Viewed (1)
  9. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

            // Directory is still empty
            testDirectory.assertIsEmptyDir()
    
            and:
            // Uses a directory under the user home for those things that happen to need a cache directory
            executer.gradleUserHomeDir.file(BuildScopeCacheDir.UNDEFINED_BUILD).assertIsDir()
    
            where:
            tasks << [["help"], [], [":help"]]
        }
    
        def "shows help message when run in a directory under the root directory of another build"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
  10. src/cmd/go/internal/base/path.go

    // UncachedCwd returns the current working directory.
    // Most callers should use Cwd, which caches the result for future use.
    // UncachedCwd is appropriate to call early in program startup before flag parsing,
    // because the -C flag may change the current directory.
    func UncachedCwd() string {
    	wd, err := os.Getwd()
    	if err != nil {
    		Fatalf("cannot determine current directory: %v", err)
    	}
    	return wd
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 19:17:27 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top