type os.File
91 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_darwin.go#L27: func (f *File) readdir(n int, mode readdirMode) (names []string, dirents []DirEntry, infos []FileInfo, err error) {
exec.go#L57: Files []*File
file.go#L55: func (f *File) Name() string { return f.name }
file.go#L113: func (f *File) Read(b []byte) (n int, err error) {
file.go#L125: func (f *File) ReadAt(b []byte, off int64) (n int, err error) {
file.go#L148: func (f *File) ReadFrom(r io.Reader) (n int64, err error) {
file.go#L159: func genericReadFrom(f *File, r io.Reader) (int64, error) {
file.go#L170: func (f *File) Write(b []byte) (n int, err error) {
file.go#L198: func (f *File) WriteAt(b []byte, off int64) (n int, err error) {
file.go#L232: func (f *File) Seek(offset int64, whence int) (ret int64, err error) {
file.go#L248: func (f *File) WriteString(s string) (n int, err error) {
file.go#L310: func Open(name string) (*File, error) {
file.go#L319: func Create(name string) (*File, error) {
file.go#L329: func OpenFile(name string, flag int, perm FileMode) (*File, error) {
file.go#L363: func (f *File) wrapErr(op string, err error) error {
file.go#L536: func (f *File) Chmod(mode FileMode) error { return f.chmod(mode) }
file.go#L562: func (f *File) SetDeadline(t time.Time) error {
file.go#L570: func (f *File) SetReadDeadline(t time.Time) error {
file.go#L580: func (f *File) SetWriteDeadline(t time.Time) error {
file.go#L586: func (f *File) SyscallConn() (syscall.RawConn, error) {
file_posix.go#L21: func (f *File) Close() error {
file_posix.go#L30: func (f *File) read(b []byte) (n int, err error) {
file_posix.go#L39: func (f *File) pread(b []byte, off int64) (n int, err error) {
file_posix.go#L47: func (f *File) write(b []byte) (n int, err error) {
file_posix.go#L55: func (f *File) pwrite(b []byte, off int64) (n int, err error) {
file_posix.go#L90: func (f *File) chmod(mode FileMode) error {
file_posix.go#L138: func (f *File) Chown(uid, gid int) error {
file_posix.go#L151: func (f *File) Truncate(size int64) error {
file_posix.go#L164: func (f *File) Sync() error {
file_posix.go#L193: func (f *File) Chdir() error {
file_posix.go#L204: func (f *File) setDeadline(t time.Time) error {
file_posix.go#L212: func (f *File) setReadDeadline(t time.Time) error {
file_posix.go#L220: func (f *File) setWriteDeadline(t time.Time) error {
file_posix.go#L229: func (f *File) checkValid(op string) error {
file_unix.go#L75: func (f *File) Fd() uintptr {
file_unix.go#L101: func NewFile(fd uintptr, name string) *File {
file_unix.go#L122: func newFile(fd uintptr, name string, kind newFileKind) *File {
file_unix.go#L127: f := &File{&file{
file_unix.go#L193: func epipecheck(file *File, e error) {
file_unix.go#L205: func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
file_unix.go#L267: func (f *File) seek(offset int64, whence int) (ret int64, err error) {
pipe_bsd.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_stub.go#L11: func (f *File) readFrom(r io.Reader) (n int64, handled bool, err error) {
removeall_at.go#L58: func removeAllFrom(parent *File, base string) error {
removeall_at.go#L170: func openFdAt(dirfd int, name string) (*File, error) {
stat_unix.go#L15: func (f *File) Stat() (FileInfo, error) {
tempfile.go#L27: func CreateTemp(dir, pattern string) (*File, error) {
types.go#L16: type File struct {
os/exec
exec.go#L123: ExtraFiles []*os.File
exec.go#L139: childFiles []*os.File
exec.go#L244: func (c *Cmd) stdin() (f *os.File, err error) {
exec.go#L254: if f, ok := c.Stdin.(*os.File); ok {
exec.go#L278: func (c *Cmd) stdout() (f *os.File, err error) {
exec.go#L282: func (c *Cmd) stderr() (f *os.File, err error) {
exec.go#L289: func (c *Cmd) writerDescriptor(w io.Writer) (f *os.File, err error) {
exec.go#L299: if f, ok := w.(*os.File); ok {
exec.go#L404: c.childFiles = make([]*os.File, 0, 3+len(c.ExtraFiles))
exec.go#L405: type F func(*Cmd) (*os.File, error)
exec.go#L596: *os.File
archive/zip
reader.go#L44: f *os.File
github.com/evanw/esbuild/internal/logger
logger.go#L513: func PrintText(file *os.File, level LogLevel, osArgs []string, callback func(Colors) string) {
logger.go#L524: func PrintTextWithColor(file *os.File, useColor UseColor, callback func(Colors) string) {
logger_darwin.go#L13: func GetTerminalInfo(file *os.File) (info TerminalInfo) {
logger_darwin.go#L31: func writeStringWithColor(file *os.File, text string) {
github.com/go-git/go-billy/v5/osfs
os.go#L137: *os.File
golang.org/x/mod/zip
zip.go#L381: func checkZip(m module.Version, f *os.File) (*zip.Reader, CheckedFiles, error) {
io/ioutil
tempfile.go#L51: func TempFile(dir, pattern string) (f *os.File, err error) {
net
fd_unix.go#L193: 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#L298: func (c *conn) File() (f *os.File, err error) {
parse.go#L18: file *os.File
tcpsock.go#L304: func (l *TCPListener) File() (f *os.File, err error) {
tcpsock_posix.go#L159: func (ln *TCPListener) file() (*os.File, error) {
unixsock.go#L303: func (l *UnixListener) File() (f *os.File, err error) {
unixsock_posix.go#L189: func (ln *UnixListener) file() (*os.File, error) {
testing
cover.go#L81: var f *os.File
testing.go#L333: testlogFile *os.File
testing.go#L1569: var f *os.File
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |