mirror of
https://github.com/go-gitea/gitea
synced 2024-11-16 15:59:27 +01:00
Refactor iterate git tree
This commit is contained in:
parent
b4306dec58
commit
7bd86c731c
@ -105,6 +105,9 @@ func (t *Tree) listEntriesRecursive(ctx context.Context, extraArgs TrustedCmdArg
|
|||||||
t.entriesRecursive = append(t.entriesRecursive, entry)
|
t.entriesRecursive = append(t.entriesRecursive, entry)
|
||||||
return nil
|
return nil
|
||||||
}, extraArgs)
|
}, extraArgs)
|
||||||
|
if err == nil {
|
||||||
|
t.entriesRecursiveParsed = true
|
||||||
|
}
|
||||||
return t.entriesRecursive, err
|
return t.entriesRecursive, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user