{"modulePath":"github.com/css521/docker","version":"v0.0.0-20240823041445-b7543ad5e5ed","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package mounttree\n\n## Functions\n\n```go\nfunc SwitchRoot(path string) error\n```\nSwitchRoot changes path to be the root of the mount tree and changes the current working directory to the new root.\n\nThis function bind-mounts onto path; it is the caller's responsibility to set the desired propagation mode of path's parent mount beforehand to prevent unwanted propagation into different mount namespaces.\n\n","path":"github.com/css521/docker/internal/mounttree","name":"mounttree","synopsis":"","isRedistributable":true}
