type os.File
79 uses
os (current package)
dir.go#L37: func (f *File) Readdir(n int) ([]FileInfo, error) {
dir.go#L66: func (f *File) Readdirnames(n int) (names []string, err error) {
dir.go#L94: func (f *File) ReadDir(n int) ([]DirEntry, error) {
dir_unix.go#L44: func (f *File) readdir(n int, mode readdirMode) (names []string, dirents []DirEntry, infos []FileInfo, err error) {
exec.go#L60: Files []*File
file.go#L56: func (f *File) Name() string { return f.name }
file.go#L114: func (f *File) Read(b []byte) (n int, err error) {
file.go#L126: func (f *File) ReadAt(b []byte, off int64) (n int, err error) {
file.go#L149: func (f *File) ReadFrom(r io.Reader) (n int64, err error) {
file.go#L160: func genericReadFrom(f *File, r io.Reader) (int64, error) {
file.go#L168: *File
file.go#L179: func (f *File) Write(b []byte) (n int, err error) {
file.go#L207: func (f *File) WriteAt(b []byte, off int64) (n int, err error) {
file.go#L237: func (f *File) Seek(offset int64, whence int) (ret int64, err error) {
file.go#L253: func (f *File) WriteString(s string) (n int, err error) {
file.go#L313: func Open(name string) (*File, error) {
file.go#L322: func Create(name string) (*File, error) {
file.go#L332: func OpenFile(name string, flag int, perm FileMode) (*File, error) {
file.go#L371: func (f *File) wrapErr(op string, err error) error {
file.go#L549: func (f *File) Chmod(mode FileMode) error { return f.chmod(mode) }
file.go#L575: func (f *File) SetDeadline(t time.Time) error {
file.go#L583: func (f *File) SetReadDeadline(t time.Time) error {
file.go#L593: func (f *File) SetWriteDeadline(t time.Time) error {
file.go#L599: func (f *File) SyscallConn() (syscall.RawConn, error) {
file_posix.go#L19: func (f *File) Close() error {
file_posix.go#L28: func (f *File) read(b []byte) (n int, err error) {
file_posix.go#L37: func (f *File) pread(b []byte, off int64) (n int, err error) {
file_posix.go#L45: func (f *File) write(b []byte) (n int, err error) {
file_posix.go#L53: func (f *File) pwrite(b []byte, off int64) (n int, err error) {
file_posix.go#L88: func (f *File) chmod(mode FileMode) error {
file_posix.go#L136: func (f *File) Chown(uid, gid int) error {
file_posix.go#L149: func (f *File) Truncate(size int64) error {
file_posix.go#L162: func (f *File) Sync() error {
file_posix.go#L199: func (f *File) Chdir() error {
file_posix.go#L210: func (f *File) setDeadline(t time.Time) error {
file_posix.go#L218: func (f *File) setReadDeadline(t time.Time) error {
file_posix.go#L226: func (f *File) setWriteDeadline(t time.Time) error {
file_posix.go#L235: func (f *File) checkValid(op string) error {
file_unix.go#L79: func (f *File) Fd() uintptr {
file_unix.go#L105: func NewFile(fd uintptr, name string) *File {
file_unix.go#L134: func net_newUnixFile(fd int, name string) *File {
file_unix.go#L167: func newFile(fd int, name string, kind newFileKind) *File {
file_unix.go#L168: f := &File{&file{
file_unix.go#L248: func epipecheck(file *File, e error) {
file_unix.go#L260: func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
file_unix.go#L331: func (f *File) seek(offset int64, whence int) (ret int64, err error) {
pipe2_unix.go#L13: func Pipe() (r *File, w *File, err error) {
rawconn.go#L15: file *File
rawconn.go#L45: func newRawConn(file *File) (*rawConn, error) {
readfrom_linux.go#L18: func (f *File) readFrom(r io.Reader) (written int64, handled bool, err error) {
readfrom_linux.go#L35: func (f *File) spliceToFile(r io.Reader) (written int64, handled bool, err error) {
readfrom_linux.go#L85: func (f *File) copyFileRange(r io.Reader) (written int64, handled bool, err error) {
readfrom_linux.go#L94: src, ok := r.(*File)
removeall_at.go#L58: func removeAllFrom(parent *File, base string) error {
removeall_at.go#L176: func openFdAt(dirfd int, name string) (*File, error) {
stat_unix.go#L15: func (f *File) Stat() (FileInfo, error) {
tempfile.go#L30: func CreateTemp(dir, pattern string) (*File, error) {
types.go#L16: type File struct {
go.uber.org/zap
sink.go#L61: openFile func(string, int, os.FileMode) (*os.File, error) // type matches os.OpenFile
io/ioutil
tempfile.go#L24: func TempFile(dir, pattern string) (f *os.File, err error) {
mime/multipart
formdata.go#L44: file *os.File
net
fd_unix.go#L194: func newUnixFile(fd int, name string) *os.File
fd_unix.go#L196: func (fd *netFD) dup() (f *os.File, err error) {
file.go#L21: func FileConn(f *os.File) (c Conn, err error) {
file.go#L33: func FileListener(f *os.File) (ln Listener, err error) {
file.go#L45: func FilePacketConn(f *os.File) (c PacketConn, err error) {
file_unix.go#L15: func dupSocket(f *os.File) (int, error) {
file_unix.go#L30: func newFileFD(f *os.File) (*netFD, error) {
file_unix.go#L70: func fileConn(f *os.File) (Conn, error) {
file_unix.go#L89: func fileListener(f *os.File) (Listener, error) {
file_unix.go#L104: func filePacketConn(f *os.File) (PacketConn, error) {
net.go#L294: func (c *conn) File() (f *os.File, err error) {
parse.go#L18: file *os.File
sendfile_linux.go#L30: f, ok := r.(*os.File)
tcpsock.go#L358: func (l *TCPListener) File() (f *os.File, err error) {
tcpsock_posix.go#L163: func (ln *TCPListener) file() (*os.File, error) {
unixsock.go#L303: func (l *UnixListener) File() (f *os.File, err error) {
unixsock_posix.go#L199: func (ln *UnixListener) file() (*os.File, error) {
|
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. |