Versions in this module Expand all Collapse all v1 v1.2.1 Mar 4, 2024 Changes in this version + type File struct + func NewFile(path string) (*File, error) + func OpenFile(path string, flag int, perm os.FileMode) (*File, error) + func (f *File) Size() int64 + func (f *File) Truncate(size int64) error