fs

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UOWWithFs

func UOWWithFs(suow uow.StartUnitOfWork) uow.StartUnitOfWork

UOWWithFs creates a Unit of Work for the fs.Fs that will wrap a uow.StartUnitOfWork repositories that fulfil the fs.Fs with a tracker. In order to 'rollback' and 'commit' all the actions done. For now it only supports 'Create', 'Remove' and 'Rename' actions to Rollback. TODO: Eventually add support for the uow.Type, if it's uow.Read only allow read operations and if it's uow.Write allow all operations.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL