- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for fs (0.29 sec)
-
src/archive/zip/reader_test.go
t.Errorf("Opening %q with fs.FS API succeeded", f.Name) } } if !reflect.DeepEqual(names, entryNames) { t.Errorf("Unexpected file entries: %q", names) } if _, err := r.Open(""); err == nil { t.Errorf("Opening %q with fs.FS API succeeded", "") } if _, err := r.Open("test.txt"); err != nil { t.Errorf("Error opening %q with fs.FS API: %v", "test.txt", err) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
api/next/62484.txt
pkg os, func CopyFS(string, fs.FS) error #62484...
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 23 00:19:54 GMT 2024 - 48 bytes - Viewed (0) -
src/archive/tar/common.go
switch m := fs.FileMode(fi.h.Mode) &^ 07777; m { case c_ISDIR: mode |= fs.ModeDir case c_ISFIFO: mode |= fs.ModeNamedPipe case c_ISLNK: mode |= fs.ModeSymlink case c_ISBLK: mode |= fs.ModeDevice case c_ISCHR: mode |= fs.ModeDevice mode |= fs.ModeCharDevice case c_ISSOCK: mode |= fs.ModeSocket } switch fi.h.Typeflag { case TypeSymlink: mode |= fs.ModeSymlink
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
lib/time/mkzip.go
// external zip tool is used or the ordering of file names in a directory // or the current time. package main import ( "archive/zip" "bytes" "flag" "fmt" "hash/crc32" "io/fs" "log" "os" "path/filepath" "strings" ) func usage() { fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n") os.Exit(2) } func main() { log.SetPrefix("mkzip: ")
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 17:32:07 GMT 2024 - 2.1K bytes - Viewed (0) -
api/next/50102.txt
pkg archive/tar, type FileInfoNames interface, IsDir() bool #50102 pkg archive/tar, type FileInfoNames interface, ModTime() time.Time #50102 pkg archive/tar, type FileInfoNames interface, Mode() fs.FileMode #50102 pkg archive/tar, type FileInfoNames interface, Name() string #50102 pkg archive/tar, type FileInfoNames interface, Size() int64 #50102 pkg archive/tar, type FileInfoNames interface, Sys() interface{} #50102
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 686 bytes - Viewed (0) -
api/go1.22.txt
pkg math/rand/v2, type Zipf struct #61716 pkg net, method (*TCPConn) WriteTo(io.Writer) (int64, error) #58808 pkg net/http, func FileServerFS(fs.FS) Handler #51971 pkg net/http, func NewFileTransportFS(fs.FS) RoundTripper #51971 pkg net/http, func ServeFileFS(ResponseWriter, *Request, fs.FS, string) #51971 pkg net/http, method (*Request) PathValue(string) string #61410 pkg net/http, method (*Request) SetPathValue(string, string) #61410
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Jan 24 20:54:27 GMT 2024 - 7.7K bytes - Viewed (0) -
src/archive/tar/tar_test.go
ModTime: time.Unix(1360600852, 0), Typeflag: TypeSymlink, }, fm: 0777 | fs.ModeSymlink, }, { // character device node. h: &Header{ Name: "dev/null", Mode: 0666, Size: 0, ModTime: time.Unix(1360578951, 0), Typeflag: TypeChar, }, fm: 0666 | fs.ModeDevice | fs.ModeCharDevice, }, { // block device node. h: &Header{ Name: "dev/sda",
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24K bytes - Viewed (0) -
src/archive/zip/writer.go
} w.compressors[method] = comp } // AddFS adds the files from fs.FS to the archive. // It walks the directory tree starting at the root of the filesystem // adding each file to the zip using deflate while maintaining the directory structure. func (w *Writer) AddFS(fsys fs.FS) error { return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error { if err != nil { return err } if d.IsDir() {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/os/62484.md
The [CopyFS] function copies an [io/fs.FS] into the local filesystem....
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 70 bytes - Viewed (0) -
src/cmd/api/main_test.go
// This makes all the references to os.FileInfo in go1.txt // be read as if they said fs.FileInfo, since os.FileInfo is now an alias. // If there are many of these, we could do a more general solution, // but for now the replacer is fine. var aliasReplacer = strings.NewReplacer( "os.FileInfo", "fs.FileInfo", "os.FileMode", "fs.FileMode", "os.PathError", "fs.PathError", ) func fileFeatures(filename string, needApproval bool) []string {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0)