Discover Packages
github.com/moby/moby
internal
cleanups
package
Version:
v27.0.3+incompatible
Opens a new window with list of versions in this module.
Published: Jun 28, 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.