Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConvertLog = "convertlog" ActionRemove = Action("rm") ActionMove = Action("mv") ActionMkdir = Action("mkdir") ActionDone = Action("done") //For breaking things that can't be easily recovered from, say writing new spec ActionManual = Action("manual") //ActionManual marks backup files that can be cleaned up after conversion with --keep ActionCleanup = Action("cleanup") )
Variables ¶
Functions ¶
Types ¶
type ActionLogger ¶
type ActionLogger struct {
// contains filtered or unexported fields
}
func NewActionLogger ¶
func NewActionLogger(repoPath string) (*ActionLogger, error)
NewActionLogger creates revert action logger which logs actions needed to revert conversion steps
func (*ActionLogger) Close ¶
func (a *ActionLogger) Close()
func (*ActionLogger) CloseFinal ¶
func (a *ActionLogger) CloseFinal() error
Click to show internal directories.
Click to hide internal directories.