- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 948 for tempdir (0.14 sec)
-
src/io/ioutil/tempfile.go
return os.CreateTemp(dir, pattern) } // TempDir creates a new temporary directory in the directory dir. // The directory name is generated by taking pattern and applying a // random string to the end. If pattern includes a "*", the random string // replaces the last "*". TempDir returns the name of the new directory. // If dir is the empty string, TempDir uses the // default directory for temporary files (see [os.TempDir]).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:34:35 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/MinimalJavaCompilerDaemonForkOptions.java
this.executable = executable; } @Nullable public String getTempDir() { return tempDir; } public void setTempDir(@Nullable String tempDir) { this.tempDir = tempDir; } @Nullable public File getJavaHome() { return javaHome; } public void setJavaHome(@Nullable File javaHome) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/core-runtime/file-temp/src/test/groovy/org/gradle/api/internal/file/temp/TempFilesTest.groovy
*/ package org.gradle.api.internal.file.temp import spock.lang.Specification import spock.lang.TempDir class TempFilesTest extends Specification { @TempDir File tempDir; def "can generate temp files for short prefixes"() { when: def file = TempFiles.createTempFile("ok", "", tempDir) then: file.exists() } def "can generate temp files for no prefix"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:50:17 UTC 2023 - 1.1K bytes - Viewed (0) -
cni/pkg/install/cniconfig_test.go
// Create temp directory for files tempDir := t.TempDir() // Create existing config files if specified in test case for srcFilename, targetFilename := range c.existingConfFiles { if err := file.AtomicCopy(filepath.Join("testdata", srcFilename), tempDir, targetFilename); err != nil { t.Fatal(err) } } cfg.MountedCNINetDir = tempDir var expectedFilepath string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 15.4K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/ForkOptions.java
public String getTempDir() { return tempDir; } /** * Sets the directory used for temporary files that may be created to pass * command line arguments to the compiler process. Defaults to {@code null}, * in which case the directory will be chosen automatically. */ public void setTempDir(@Nullable String tempDir) { this.tempDir = tempDir; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 3.1K bytes - Viewed (0) -
fess-crawler-es/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
docRoot.delete(); } } } protected static File createDocRoot(final int count) { try { final File tempDir = File.createTempFile("crawlerDocRoot", ""); tempDir.delete(); tempDir.mkdirs(); final StringBuilder buf = new StringBuilder(); buf.append("User-agent: *").append('\n');
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5K bytes - Viewed (0) -
src/os/path_windows_test.go
t.Parallel() tmpDir := t.TempDir() const prefix = `\\?\` if len(tmpDir) < 4 || tmpDir[:4] != prefix { fullPath, err := syscall.FullPath(tmpDir) if err != nil { t.Fatalf("FullPath(%q) fails: %v", tmpDir, err) } tmpDir = prefix + fullPath } path := tmpDir + `\dir\` if err := os.MkdirAll(path, 0777); err != nil { t.Fatalf("MkdirAll(%q) failed: %v", path, err) } path = path + `.\dir2`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:37:32 UTC 2024 - 8K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/AbstractBinaryToolSpec.java
this.platform = platform; } @Override public File getTempDir() { return tempDir; } @Override public void setTempDir(File tempDir) { this.tempDir = tempDir; } @Override public List<String> getArgs() { return args; } @Override public void args(List<String> args) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppOptionsFileArgsWriter.java
*/ class VisualCppOptionsFileArgsWriter extends OptionsFileArgsWriter { public VisualCppOptionsFileArgsWriter(File tempDir) { super(tempDir); } @Override protected List<String> transformArgs(List<String> originalArgs, File tempDir) { return ArgWriter.argsFileGenerator(new File(tempDir, "options.txt"), ArgWriter.windowsStyleFactory()).transform(originalArgs); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/main/java/org/gradle/api/internal/tasks/compile/DefaultJvmLanguageCompileSpec.java
this.destinationDir = destinationDir; } @Override public File getTempDir() { return tempDir; } @Override public void setTempDir(File tempDir) { this.tempDir = tempDir; } @Override public Iterable<File> getSourceFiles() { return sourceFiles; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.2K bytes - Viewed (0)