Versions in this module Expand all Collapse all v0 v0.1.0 Feb 12, 2023 Changes in this version + var ErrCommitted = errors.New("already committed") + var ErrExhausted = errors.New("exhausted") + var ErrRolledBack = errors.New("rolled back") + type Dir struct + func CreateDir(origPath string, perm fs.FileMode) (*Dir, error) + func (d *Dir) Close() error + func (d *Dir) Commit() error + func (d *Dir) Name() string + func (d *Dir) OriginalPath() string + type File struct + func CreateFile(origPath string, perm os.FileMode) (*File, error) + func (f *File) Close() error + func (f *File) Commit() error + func (f *File) OriginalPath() string