package mountref
import "github.com/dotcloud/docker/daemon/internal/mountref"
Index ¶
Types ¶
type Checker ¶
Checker checks whether the provided path is mounted.
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
Counter is a generic counter for use by graphdriver Get/Put calls
func NewCounter ¶
NewCounter returns a new Counter. It accepts a Checker to determine whether a path is mounted.
func (*Counter) Decrement ¶
Decrement decreases the ref count for the given id and returns the current count
func (*Counter) Increment ¶
Increment increases the ref count for the given id and returns the current count
Source Files ¶
- Version
- v28.1.1+incompatible (latest)
- Published
- Apr 18, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 5 hours ago –
Tools for package owners.