Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 82 for renameat (0.13 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy

                'nestedDir/nestedDirFile2.txt'
            )
            and:
            lowercaseDir.renameTo(uppercaseDir)
    
            def uppercaseNestedDir = new File(uppercaseDir, 'NESTEDDIR')
            new File(uppercaseDir, 'nestedDir').renameTo(uppercaseNestedDir)
            new File(uppercaseNestedDir, 'nestedDirFile2.txt').renameTo(new File(uppercaseNestedDir, 'NESTEDDIRFILE2.TXT'))
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            when:
            run "compile"
            then:
            skipped ":compile"
    
            when:
            file("lib1.jar").renameTo(file("lib1-renamed.jar"))
            buildFile.text = buildScriptWithClasspath("lib1-renamed.jar", "lib2.jar")
    
            run "compile"
            then:
            skipped ":compile"
        }
    
        def buildScriptWithClasspath(String... dependencies) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. src/go/types/infer.go

    		tparams2[i] = NewTypeParam(tname, nil)
    		tparams2[i].index = tparam.index // == i
    	}
    
    	renameMap := makeRenameMap(tparams, tparams2)
    	for i, tparam := range tparams {
    		tparams2[i].bound = check.subst(pos, tparam.bound, renameMap, nil, check.context())
    	}
    
    	return tparams2, check.subst(pos, typ, renameMap, nil, check.context())
    }
    
    // typeParamsString produces a string containing all the type parameter names
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/fetch.go

    	// or lost after a file system crash. Re-hash the zip without downloading.
    	if zipExists {
    		return hashZip(mod, zipfile, ziphashfile)
    	}
    
    	// From here to the os.Rename call below is functionally almost equivalent to
    	// renameio.WriteToFile, with one key difference: we want to validate the
    	// contents of the file (by hashing it) before we commit it. Because the file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GFileUtils.java

            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        public static void moveExistingFile(File source, File destination) {
            boolean rename = source.renameTo(destination);
            if (!rename) {
                moveFile(source, destination);
            }
        }
    
        /**
         * If the destination file exists, then this method will overwrite it.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java

                    String renamed = entry.getPath().getLastName();
                    if (renamed.startsWith(RemappingScriptSource.MAPPED_SCRIPT)) {
                        renamed = className + renamed.substring(RemappingScriptSource.MAPPED_SCRIPT.length());
                    }
                    byte[] content = classData.getClassContent();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:23:24 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. pkg/log/options.go

    	//
    	// This path is used as a foundational path. This is where log output is normally
    	// saved. When a rotation needs to take place because the file got too big,
    	// then the file is renamed by appending a timestamp to the name. Such renamed
    	// files are called backups. Once a backup has been created,
    	// output resumes to this path.
    	RotateOutputPath string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/tasks/AbstractCopyTask.java

        /**
         * {@inheritDoc}
         */
        @Override
        public AbstractCopyTask rename(Closure closure) {
            return rename(new ClosureBackedTransformer(closure));
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public AbstractCopyTask rename(Transformer<String, String> renamer) {
            getMainSpec().rename(renamer);
            return this;
        }
    
        /**
         * {@inheritDoc}
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptionClosureInstrumentingClassVisitor.java

     *          the new delegate. This ensures the invariant above.
     *     <li> Adds {@link InstrumentableClosure} to the set of interfaces.
     *     <li> Renames the {@code doCall} methods to {@code doCall$original} and adds new {@code doCall methods} that surrounds the original call with
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractDirectorySensitivityIntegrationSpec.groovy

            file('foo/a/b') << "foo"
            execute("taskWithInputs")
    
            then:
            executedAndNotSkipped(":taskWithInputs")
    
            when:
            cleanWorkspace()
            file('foo/a').renameTo(file('foo/c'))
            execute("taskWithInputs")
    
            then:
            executedUnlessNameOnly(":taskWithInputs", pathSensitivity)
    
            when:
            cleanWorkspace()
            file('foo').deleteDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top