github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/client/allocdir/alloc_dir_windows.go (about)

     1  package allocdir
     2  
     3  import (
     4  	"errors"
     5  	"os"
     6  )
     7  
     8  func (d *AllocDir) linkOrCopy(src, dst string, perm os.FileMode) error {
     9  	return fileCopy(src, dst, perm)
    10  }
    11  
    12  // The windows version does nothing currently.
    13  func (d *AllocDir) mountSharedDir(dir string) error {
    14  	return errors.New("Mount on Windows not supported.")
    15  }
    16  
    17  // The windows version does nothing currently.
    18  func (d *AllocDir) dropDirPermissions(path string) error {
    19  	return nil
    20  }
    21  
    22  // The windows version does nothing currently.
    23  func (d *AllocDir) unmountSharedDir(dir string) error {
    24  	return nil
    25  }