HomeSoftware Heritage

DirectoryIndexer: Remove incorrect assumption on object types

Description

DirectoryIndexer: Remove incorrect assumption on object types

process_journal_objects can in theory be called from a journal client
which consumes other object types too, so there may be other objects,
and 'directory' may be missing entirely.

This isn't an issue in practice though, because DirectoryIndexer is
only used indirectly.

Details

Provenance
vlorentzAuthored on Jun 28 2022, 12:30 PM
vlorentzPushed on Jun 29 2022, 10:24 AM
Differential Revision
D8043: DirectoryIndexer: Remove incorrect assumption on object types
Parents
rDCIDXbbf9dc80475a: Fix crash when npm description is not a string
Branches
Unknown
Tags
Unknown
Build Status
Buildable 30067
Build 47007: test-and-buildJenkins console · Jenkins