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 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.

Source Files

containerfs.go rm_windows.go

Version
v26.0.1+incompatible
Published
Apr 10, 2024
Platform
windows/amd64
Imports
2 packages
Last checked
1 hour ago

Tools for package owners.