},
Type: t,
Data: d,
- Symlink: adapter.StatType(dirType) == adapter.Symlink,
+ Symlink: dirType == adapter.Symlink,
})
}
return entries, nil
dirPtr, dirName, dirType := sc.GetStatDirOnIndex(vector, entry.Index)
if len(dirName) == 0 ||
!bytes.Equal(dirName, entry.Name) ||
- adapter.StatType(dirType) != entry.Type ||
+ dirType != entry.Type ||
entry.Data == nil {
return nil
}