HomeSoftware Heritage

Add typing to detect_metadata() and related functions

Description

Add typing to detect_metadata() and related functions

This also moves the call to detect_metadata() to
translate_directory_intrinsic_metadata so type annotations make more
sense; and remove a dead/broken code branch in
DirectoryMetadataIndexer.index() that was detected by mypy.

Details

Provenance
vlorentzAuthored on Jun 29 2022, 11:01 AM
vlorentzPushed on Jul 4 2022, 12:29 PM
Differential Revision
D8045: Add typing to detect_metadata() and related functions
Parents
rDCIDX1be4e184d4b9: cff: Add checks for value types
Branches
Unknown
Tags
Unknown
Build Status
Buildable 30210
Build 47222: test-and-buildJenkins console · Jenkins