Discover Packages
github.com/Moby/Moby
internal
cleanups
package
Version:
v26.0.1+incompatible
Opens a new window with list of versions in this module.
Published: Apr 10, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Composite struct {
}
Add adds a cleanup to be called.
Call calls all cleanups in reverse order and returns an error combining all
non-nil errors.
Release removes all cleanups, turning Call into a no-op.
Caller still can call the cleanups by calling the returned function
which is equivalent to calling the Call before Release was called.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.