~tsileo/blobsfile

ae333257aea54fe794184ce99b3b3650bba3034d — Thomas Sileo 6 months ago fe276b0 v0.3.6 v0.3.7
Add new SetBlobsFilesSealedFunc helper
1 files changed, 4 insertions(+), 0 deletions(-)

M blobsfile.go
M blobsfile.go => blobsfile.go +4 -0
@@ 292,6 292,10 @@ func New(opts *Opts) (*BlobsFiles, error) {
	return backend, nil
}

func (backend *BlobsFiles) SetBlobsFilesSealedFunc(f func(string)) {
	backend.blobsFilesSealedFunc = f
}

func (backend *BlobsFiles) getConfirmation(msg string) (bool, error) {
	// askConfirmationFunc func(string) bool
	if backend.askConfirmationFunc == nil {