github.com/hms58/moby@v1.13.1/daemon/archive_windows.go (about)

     1  package daemon
     2  
     3  import "github.com/docker/docker/container"
     4  
     5  // checkIfPathIsInAVolume checks if the path is in a volume. If it is, it
     6  // cannot be in a read-only volume. If it  is not in a volume, the container
     7  // cannot be configured with a read-only rootfs.
     8  //
     9  // This is a no-op on Windows which does not support read-only volumes, or
    10  // extracting to a mount point inside a volume. TODO Windows: FIXME Post-TP5
    11  func checkIfPathIsInAVolume(container *container.Container, absPath string) (bool, error) {
    12  	return false, nil
    13  }
    14  
    15  func fixPermissions(source, destination string, uid, gid int, destExisted bool) error {
    16  	// chown is not supported on Windows
    17  	return nil
    18  }