Run filetype and symlink integration tests with versioning (ref #1071)

This commit is contained in:
Jakob Borg
2014-12-03 11:03:44 +01:00
parent e1be73232d
commit 3e26fdfb67
3 changed files with 93 additions and 3 deletions

View File

@@ -379,9 +379,12 @@ func startWalker(dir string, res chan<- fileInfo, abort <-chan struct{}) {
if rn == "." || rn == ".stfolder" {
return nil
}
if rn == ".stversions" {
return filepath.SkipDir
}
var f fileInfo
if ok, err := symlinks.IsSymlink(path); err == nil && ok {
if info.Mode()&os.ModeSymlink != 0 {
f = fileInfo{
name: rn,
mode: os.ModeSymlink,