package containerfs

import "github.com/dotcloud/docker/pkg/containerfs"

Index

Variables

var EnsureRemoveAll = os.RemoveAll

EnsureRemoveAll is an alias to os.RemoveAll on Windows

Functions

func CleanScopedPath

func CleanScopedPath(path string) string

CleanScopedPath removes the C:\ syntax, and prepares to combine with a volume path

func ResolveScopedPath

func ResolveScopedPath(root, path string) (string, error)

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.

Source Files

containerfs.go containerfs_windows.go rm_windows.go

Version
v24.0.3+incompatible
Published
Jul 3, 2023
Platform
windows/amd64
Imports
3 packages
Last checked
41 minutes ago

Tools for package owners.