- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ExtractFiles (0.16 sec)
-
src/cmd/go/internal/script/state.go
e = regexp.QuoteMeta(e) } return e }) } // ExtractFiles extracts the files in ar to the state's current directory, // expanding any environment variables within each name. // // The files must reside within the working directory with which the State was // originally created. func (s *State) ExtractFiles(ar *txtar.Archive) error { wd := s.workdir // Add trailing separator to terminate wd.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/script.go
ar := txtar.Parse(scriptContent) if err := os.MkdirAll(workDir, 0755); err != nil { return nil, err } st, err := s.newState(ctx, workDir) if err != nil { return nil, err } if err := st.ExtractFiles(ar); err != nil { return nil, err } scriptName := filepath.Base(scriptPath) scriptLog := new(strings.Builder) err = s.engine.Execute(st, scriptName, bufio.NewReader(bytes.NewReader(ar.Comment)), scriptLog)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 08 19:37:03 UTC 2022 - 9K bytes - Viewed (0) -
src/cmd/go/script_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 12.2K bytes - Viewed (0)