661
661
name = os.path.basename(path)
665
666
inv.add(inventory.InventoryDirectory(file_id, name, parent))
667
668
inv.add(inventory.InventoryFile(file_id, name, parent))
669
inv.add(InventoryEntry(file_id, name, kind, parent))
670
673
self._write_inventory(inv)