type os.File
84 uses
os (current package)
dir.go#L40: func (f *File) Readdir(n int) ([]FileInfo, error) {
dir.go#L69: func (f *File) Readdirnames(n int) (names []string, err error) {
dir.go#L97: func (f *File) ReadDir(n int) ([]DirEntry, error) {
dir_unix.go#L47: func (f *File) readdir(n int, mode readdirMode) (names []string, dirents []DirEntry, infos []FileInfo, err error) {
exec.go#L268: Files []*File
file.go#L62: func (f *File) Name() string { return f.name }
file.go#L120: func (f *File) Read(b []byte) (n int, err error) {
file.go#L132: func (f *File) ReadAt(b []byte, off int64) (n int, err error) {
file.go#L155: func (f *File) ReadFrom(r io.Reader) (n int64, err error) {
file.go#L181: *File
file.go#L184: func genericReadFrom(f *File, r io.Reader) (int64, error) {
file.go#L191: func (f *File) Write(b []byte) (n int, err error) {
file.go#L219: func (f *File) WriteAt(b []byte, off int64) (n int, err error) {
file.go#L245: func (f *File) WriteTo(w io.Writer) (n int64, err error) {
file.go#L271: *File
file.go#L274: func genericWriteTo(f *File, w io.Writer) (int64, error) {
file.go#L283: func (f *File) Seek(offset int64, whence int) (ret int64, err error) {
file.go#L299: func (f *File) WriteString(s string) (n int, err error) {
file.go#L364: func Open(name string) (*File, error) {
file.go#L373: func Create(name string) (*File, error) {
file.go#L383: func OpenFile(name string, flag int, perm FileMode) (*File, error) {
file.go#L397: func openDir(name string) (*File, error) {
file.go#L439: func (f *File) wrapErr(op string, err error) error {
file.go#L617: func (f *File) Chmod(mode FileMode) error { return f.chmod(mode) }
file.go#L643: func (f *File) SetDeadline(t time.Time) error {
file.go#L651: func (f *File) SetReadDeadline(t time.Time) error {
file.go#L661: func (f *File) SetWriteDeadline(t time.Time) error {
file.go#L667: 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#L80: func (f *File) Fd() uintptr {
file_unix.go#L106: func NewFile(fd uintptr, name string) *File {
file_unix.go#L131: func net_newUnixFile(fd int, name string) *File {
file_unix.go#L162: func newFile(fd int, name string, kind newFileKind, nonBlocking bool) *File {
file_unix.go#L163: f := &File{&file{
file_unix.go#L252: func epipecheck(file *File, e error) {
file_unix.go#L264: func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
file_unix.go#L302: func openDirNolog(name string) (*File, error) {
file_unix.go#L349: 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) {
removeall_at.go#L58: func removeAllFrom(parent *File, base string) error {
removeall_at.go#L168: func openDirAt(dirfd int, name string) (*File, error) {
stat_unix.go#L15: func (f *File) Stat() (FileInfo, error) {
tempfile.go#L35: func CreateTemp(dir, pattern string) (*File, error) {
types.go#L18: type File struct {
zero_copy_linux.go#L27: func (f *File) writeTo(w io.Writer) (written int64, handled bool, err error) {
zero_copy_linux.go#L51: func (f *File) readFrom(r io.Reader) (written int64, handled bool, err error) {
zero_copy_linux.go#L68: func (f *File) spliceToFile(r io.Reader) (written int64, handled bool, err error) {
zero_copy_linux.go#L98: func (f *File) copyFileRange(r io.Reader) (written int64, handled bool, err error) {
zero_copy_linux.go#L107: var src *File
zero_copy_linux.go#L109: case *File:
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#L304: func (c *conn) File() (f *os.File, err error) {
parse.go#L18: file *os.File
sendfile_linux.go#L32: f, ok := r.(*os.File)
tcpsock.go#L412: func (l *TCPListener) File() (f *os.File, err error) {
tcpsock_posix.go#L170: func (ln *TCPListener) file() (*os.File, error) {
unixsock.go#L300: 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.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |