1 // Copyright (c) 2012, Suryandaru Triandana <syndtr@gmail.com>
2 // All rights reserved.
4 // Use of this source code is governed by a BSD-style license that can be
5 // found in the LICENSE file.
16 func newFileLock(path string, readOnly bool) (fl fileLock, err error) {
17 return nil, syscall.ENOTSUP
20 func setFileLock(f *os.File, readOnly, lock bool) error {
21 return syscall.ENOTSUP
24 func rename(oldpath, newpath string) error {
25 return syscall.ENOTSUP
28 func isErrInvalid(err error) bool {
32 func syncDir(name string) error {
33 return syscall.ENOTSUP