github.com/endocode/docker@v1.4.2-0.20160113120958-46eb4700391e/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-TP4
    11  func checkIfPathIsInAVolume(container *container.Container, absPath string) (bool, error) {
    12  	return false, nil
    13  }