io/fs.FileInfo.Size (method)
7 uses
io/fs (current package)
format.go#L23: size := info.Size()
fs.go#L153: Size() int64 // length in bytes for regular files; system-dependent for others
readfile.go#L45: size64 := info.Size()
net
parse.go#L72: return st.ModTime(), st.Size(), nil
parse.go#L88: return st.ModTime(), st.Size(), nil
net/http
fs.go#L679: sizeFunc := func() (int64, error) { return d.Size(), nil }
os
file.go#L723: size64 := info.Size()
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |