package containerfs
import "github.com/dotcloud/docker/pkg/containerfs"
Index ¶
- Variables
- func CleanScopedPath(path string) string
- func ResolveScopedPath(root, path string) (string, error)
Variables ¶
EnsureRemoveAll is an alias to os.RemoveAll on Windows
Functions ¶
func CleanScopedPath ¶
CleanScopedPath prepares the given path to be combined with a mount path or a drive-letter. On Windows, it removes any existing driveletter (e.g. "C:"). The returned path is always prefixed with a filepath.Separator.
func ResolveScopedPath ¶
ResolveScopedPath evaluates the given path scoped to the root. For example, if root=/a, and path=/b/c, then this function would return /a/b/c.
Deprecated: use symlink.FollowSymlinkInScope.
Source Files ¶
- Version
- v25.0.3+incompatible
- Published
- Feb 6, 2024
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 2 minutes ago –
Tools for package owners.