- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for xworkdir (0.16 sec)
-
src/cmd/dist/util.go
} defer f.Close() names, err := f.Readdirnames(-1) if err != nil { fatalf("reading %s: %v", dir, err) } return names } // xworkdir creates a new temporary directory to hold object files // and returns the name of that directory. func xworkdir() string { name, err := os.MkdirTemp(os.Getenv("GOTMPDIR"), "go-tool-dist-") if err != nil { fatalf("%v", err) } return name }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 17:50:29 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/dist/build.go
os.Unsetenv("GO111MODULE") os.Setenv("GOENV", "off") os.Unsetenv("GOFLAGS") os.Setenv("GOWORK", "off") workdir = xworkdir() if err := os.WriteFile(pathf("%s/go.mod", workdir), []byte("module bootstrap"), 0666); err != nil { fatalf("cannot write stub go.mod: %s", err) } xatexit(rmworkdir) tooldir = pathf("%s/pkg/tool/%s_%s", goroot, gohostos, gohostarch) goversion := findgoversion()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
pkg/test/util/yml/file.go
WriteYAMLOrFail(t test.Failer, filenamePrefix string, contents ...string) []string } type writerImpl struct { workDir string } // NewFileWriter creates a new FileWriter that stores files under workDir. func NewFileWriter(workDir string) FileWriter { return &writerImpl{ workDir: workDir, } } // WriteYAML writes the given YAML content to one or more YAML files.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 07 14:33:54 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/test/framework/testcontext.go
NewSubTestf(format string, a ...any) Test // WorkDir allocated for this test. WorkDir() string // CreateDirectoryOrFail creates a new sub directory with the given name in the workdir, or fails the test. CreateDirectoryOrFail(name string) string // CreateTmpDirectoryOrFail creates a new temporary directory with the given prefix in the workdir, or fails the test. CreateTmpDirectoryOrFail(prefix string) string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/test/kube/dump.go
// PodDumper will dump information from all the pods into the given workDir. // If no pods are provided, client will be used to fetch all the pods in a namespace. type PodDumper func(ctx resource.Context, cluster cluster.Cluster, workDir string, namespace string, pods ...corev1.Pod) func podOutputPath(workDir string, cluster cluster.Cluster, pod corev1.Pod, dumpName string) string { return outputPath(workDir, cluster, pod.Name, dumpName) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 22.2K bytes - Viewed (0) -
pkg/test/framework/suitecontext.go
scopeID := fmt.Sprintf("[suite(%s)]", s.TestID) workDir := path.Join(s.RunDir(), "_suite_context") if err := os.MkdirAll(workDir, os.ModePerm); err != nil { return nil, err } c := &suiteContext{ settings: s, globalScope: newScope(scopeID, nil), workDir: workDir, FileWriter: yml.NewFileWriter(workDir), suiteLabels: labels, contextNames: sets.New[string](),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/FileTimeStampInspector.java
*/ public abstract class FileTimeStampInspector { private final File workDir; private final File markerFile; private final TemporaryFileProvider temporaryFileProvider; private long lastBuildTimestamp; protected FileTimeStampInspector(File workDir) { this.workDir = workDir; this.markerFile = new File(workDir, "last-build.bin");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 20 16:22:11 UTC 2021 - 5K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/vcweb.go
if err != nil { return nil, err } if workDir == "" { workDir, err = os.MkdirTemp("", "vcweb-*") if err != nil { return nil, err } logger.Printf("vcweb work directory: %s", workDir) } else { workDir, err = filepath.Abs(workDir) if err != nil { return nil, err } } homeDir := filepath.Join(workDir, "home") if err := os.MkdirAll(homeDir, 0755); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 12.1K bytes - Viewed (0) -
pkg/test/cert/ca/root.go
} // NewRoot generates the files for a new self-signed Root CA files under the given directory. func NewRoot(workDir string) (Root, error) { root := Root{ KeyFile: filepath.Join(workDir, "root-key.pem"), ConfFile: filepath.Join(workDir, "root-ca.conf"), CSRFile: filepath.Join(workDir, "root-ca.csr"), CertFile: filepath.Join(workDir, "root-cert.pem"), } // Write out the conf file.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 03 18:09:59 UTC 2021 - 2.3K bytes - Viewed (0) -
buildscripts/verify-build.sh
} function start_minio_erasure() { "${MINIO[@]}" server "${WORK_DIR}/erasure-disk1" "${WORK_DIR}/erasure-disk2" "${WORK_DIR}/erasure-disk3" "${WORK_DIR}/erasure-disk4" >"$WORK_DIR/erasure-minio.log" 2>&1 & "${WORK_DIR}/mc" ready verify } function start_minio_erasure_sets() { export MINIO_ENDPOINTS="${WORK_DIR}/erasure-disk-sets{1...32}" "${MINIO[@]}" server >"$WORK_DIR/erasure-minio-sets.log" 2>&1 &
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 19:28:51 UTC 2024 - 6.7K bytes - Viewed (0)