CommitDelegate

Description

delegate Tinman.Core.IO.Files.CommitDelegate

file : IFile

The file that is about to be committed.

returns → bool

true to continue with committing file,
false to cancel the commit.

Callback used by IFile.Commit.

This delegate is called before a file is being committed. If this callback throws an exception, IFile.Commit will throw, too.

IOException

If an I/O error has occurred.