This commit is contained in:
Hteev Oli 2024-10-29 14:05:23 +08:00 committed by GitHub
parent 6c53241c37
commit a1d30dc66c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -596,7 +596,7 @@ func (s *Sync) children(req *nodeRequest, object node) ([]*nodeRequest, error) {
if node.Children[i] != nil {
children = append(children, childNode{
node: node.Children[i],
path: slices.Concat(req.path, []byte{i}),
path: append(append([]byte(nil), req.path...), byte(i)),
})
}
}