Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func Read(name string) ([]byte, error) + func Transform(name string, t func([]byte) ([]byte, error)) (err error) + func Write(name string, content io.Reader, perm fs.FileMode) (err error) + type File struct + func Create(name string) (*File, error) + func Edit(name string) (*File, error) + func Open(name string) (*File, error) + func OpenFile(name string, flag int, perm fs.FileMode) (*File, error) + func (f *File) Close() error + type Mutex struct + Path string + func MutexAt(path string) *Mutex + func (mu *Mutex) Lock() (unlock func(), err error) + func (mu *Mutex) String() string