 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type OS
- func (fs *OS) Base() string
- func (fs *OS) Create(filename string) (fs.File, error)
- func (fs *OS) Dir(path string) fs.Filesystem
- func (fs *OS) Join(elem ...string) string
- func (fs *OS) Open(filename string) (fs.File, error)
- func (fs *OS) OpenFile(filename string, flag int, perm os.FileMode) (fs.File, error)
- func (ofs *OS) ReadDir(path string) ([]fs.FileInfo, error)
- func (fs *OS) Remove(filename string) error
- func (fs *OS) Rename(from, to string) error
- func (fs *OS) Stat(filename string) (fs.FileInfo, error)
- func (fs *OS) TempFile(dir, prefix string) (fs.File, error)
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OS ¶
type OS struct {
	// contains filtered or unexported fields
}
    OS a filesystem base on the os filesystem
func (*OS) Create ¶
Create creates a file and opens it with standard permissions and modes O_RDWR, O_CREATE and O_TRUNC.
func (*OS) Dir ¶
func (fs *OS) Dir(path string) fs.Filesystem
Dir returns a new Filesystem from the same type of fs using as baseDir the given path
func (*OS) Join ¶
Join joins the specified elements using the filesystem separator.
func (*OS) Open ¶
Open opens a file in read-only mode.
func (*OS) OpenFile ¶
OpenFile is equivalent to standard os.OpenFile. If flag os.O_CREATE is set, all parent directories will be created.
func (*OS) ReadDir ¶
ReadDir returns the filesystem info for all the archives under the specified path.
func (*OS) Stat ¶
Stat returns the FileInfo structure describing file.
       Source Files
      ¶
      Source Files
      ¶
    
- os.go
 Click to show internal directories. 
   Click to hide internal directories.