lib/fs: harmonize CreateSymlink definitions (fixes #4567)

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4632
LGTM: imsodin, AudriusButkevicius
This commit is contained in:
Emil Hessman
2018-01-14 14:25:04 +00:00
committed by Audrius Butkevicius
parent f1c73999be
commit bbc178ccc4
4 changed files with 6 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ type Filesystem interface {
Chmod(name string, mode FileMode) error
Chtimes(name string, atime time.Time, mtime time.Time) error
Create(name string) (File, error)
CreateSymlink(name, target string) error
CreateSymlink(target, name string) error
DirNames(name string) ([]string, error)
Lstat(name string) (FileInfo, error)
Mkdir(name string, perm FileMode) error