about summary refs log tree commit diff
path: root/.travis.yml
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-09T20·34+0000
committerVincent Ambo <tazjin@google.com>2019-12-09T23·23+0000
commitda64d852ead23335b9dc16c6f3e7815221f63317 (patch)
treee77f023f576ecbe3ea0944af0ed3d03b903495c2 /.travis.yml
parent2b6b76570e9e86aadc8a07f857817101612dd7ba (diff)
refactor(read-tree): Simplify tree recursion logic r/119
Rewrites the previous initial tick-tocking recursion into a more
straightforward style.

Every attribute set that is imported by readTree now also contains an
attribute called `__readTree` set to `true` which acts as a marker for
other types of tree traversals.

Unfortunately directories without any children or importable content
still result in empty attribute sets, but overall this might be the
better tradeoff vs. having to follow the recursion all the way at each
subtree level to determine which children exist.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions