- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for fetchYaml (0.16 sec)
-
cmd/yamlfmt/yamlfmt.go
flag.Parse() for _, path := range flag.Args() { sourceYaml, err := os.ReadFile(path) if err != nil { fmt.Fprintf(os.Stderr, "%s: %v\n", path, err) continue } rootNode, err := fetchYaml(sourceYaml) if err != nil { fmt.Fprintf(os.Stderr, "%s: %v\n", path, err) continue } writer, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0666) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 17 06:23:22 UTC 2023 - 1.7K bytes - Viewed (0) -
cmd/prune-junit-xml/prunexml.go
for _, path := range flag.Args() { fmt.Printf("processing junit xml file : %s\n", path) xmlReader, err := os.Open(path) if err != nil { panic(err) } defer xmlReader.Close() suites, err := fetchXML(xmlReader) // convert MB into bytes (roughly!) if err != nil { panic(err) } pruneXML(suites, *maxTextSize*1e6) // convert MB into bytes (roughly!) if *pruneTests { pruneTESTS(suites) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 12:26:00 UTC 2023 - 4.4K bytes - Viewed (0) -
cmd/prune-junit-xml/prunexml_test.go
<failure message="Failed" type="">
	/home/prow/go/[...clipped...]t_metrics.go:160</failure> </testcase> </testsuite> </testsuites>` suites, _ := fetchXML(strings.NewReader(sourceXML)) pruneXML(suites, 32) var output bytes.Buffer writer := bufio.NewWriter(&output) _ = streamXML(writer, suites) _ = writer.Flush()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 12:26:00 UTC 2023 - 8.9K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git.go
} const ( // How much have we fetched into the git repo (in this process)? fetchNone = iota // nothing yet fetchSome // shallow fetches of individual hashes fetchAll // "fetch -t origin": get all remote branches and tags ) // loadLocalTags loads tag references from the local git cache // into the map r.localTags. func (r *gitRepo) loadLocalTags(ctx context.Context) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 27.4K bytes - Viewed (0)