open-nomad/client/allocdir/alloc_dir_windows.go

26 lines
551 B
Go
Raw Normal View History

package allocdir
import (
"errors"
"os"
)
func (d *AllocDir) linkOrCopy(src, dst string, perm os.FileMode) error {
2015-09-28 06:53:25 +00:00
return fileCopy(src, dst, perm)
}
// The windows version does nothing currently.
2015-09-25 23:49:14 +00:00
func (d *AllocDir) mountSharedDir(dir string) error {
return errors.New("Mount on Windows not supported.")
}
2015-09-25 23:49:14 +00:00
// The windows version does nothing currently.
func (d *AllocDir) dropDirPermissions(path string) error {
return nil
}
// The windows version does nothing currently.
func (d *AllocDir) unmountSharedDir(dir string) error {
return nil
2015-09-25 23:49:14 +00:00
}