HomeSoftware Heritage

sql-func refactoring: single dir*_entry_add function

Description

sql-func refactoring: single dir*_entry_add function

The function is parametric in the type of entries to be
added (file/dir/rev).

Get rid of the previous 3 (99% overlapping) functions
swh_directory_{file,rev,dir}_entry_add functions. Make storage.py use
the new function.

Details

Provenance
zackAuthored on
zackPushed on Sep 30 2015, 11:04 AM
Parents
rDSTO4612bc6f2983: Refactor - pep8 compliance - Remove unused import
Branches
Unknown
Tags
Unknown