diff options
author | Katharina Fey <kookie@spacekookie.de> | 2021-01-02 22:24:05 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2021-01-08 02:29:09 +0100 |
commit | 17bb1561b384a92e4c3c50007ac38b2d9b86c95b (patch) | |
tree | 476dc91c61502ad6fa82c83bb05c5812e89aadfa /apps/servers/octopus/src | |
parent | 7a7c3f0adf32382b478b18f745ffd62dcaaa4940 (diff) |
supergit: implement typed directory yields
Previously a Yield object was either a file dump, or a simple
enumeration on a directories children, with no associated type state
for them. This commit implements a mechanism to internally fetch this
type information, to pass out to a user via the Yield type.
This way it is much easier to figure out which entries are
directories, and which are files. Additional queries have to be
passed into the FileTree for lookups. In a way, this commit gives up
on the idea of having a nested API structure for the time being, until
constructing sub-FileTrees becomes a real necessity
Diffstat (limited to 'apps/servers/octopus/src')
0 files changed, 0 insertions, 0 deletions