- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for processFile (0.09 sec)
-
src/cmd/fix/main.go
} } if flag.NArg() == 0 { if err := processFile("standard input", true); err != nil { report(err) } os.Exit(exitCode) } for i := 0; i < flag.NArg(); i++ { path := flag.Arg(i) switch dir, err := os.Stat(path); { case err != nil: report(err) case dir.IsDir(): walkDir(path) default: if err := processFile(path, false); err != nil { report(err) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/debugging/inspect/main.go
fatalErr(err) default: flag.Usage() fatalIf(true, "Only 1 file can be decrypted") os.Exit(1) } for _, input := range inputs { processFile(input, privateKey) } } func processFile(inputFileName string, privateKey []byte) { // Calculate the output file name var outputFileName string switch { case strings.HasSuffix(inputFileName, ".enc"):
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 5.2K bytes - Viewed (0)