Documentation
¶
Index ¶
- type Context
- type TmpFile
- func (tf *TmpFile) Close() error
- func (tf *TmpFile) Dir() string
- func (tf TmpFile) Done() error
- func (tf *TmpFile) Name() string
- func (tf *TmpFile) Path() string
- func (tf *TmpFile) Read(b []byte) (int, error)
- func (tf *TmpFile) ReadAt(b []byte, off int64) (int, error)
- func (tf *TmpFile) Seek(offset int64, whence int) (ret int64, err error)
- func (tf *TmpFile) Stat() (os.FileInfo, error)
- func (tf *TmpFile) Write(b []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TmpFile ¶
type TmpFile struct {
// contains filtered or unexported fields
}
func NewInIsolatedDir ¶
Invoke this function to create a temp file in an isolated directory
Click to show internal directories.
Click to hide internal directories.