MCPcopy Index your code
hub / github.com/borgbackup/borg / process_dev

Method process_dev

src/borg/archive.py:1624–1627  ·  view source on GitHub ↗
(self, *, tarinfo, status, type)

Source from the content-addressed store, hash-verified

1622 return status
1623
1624 def process_dev(self, *, tarinfo, status, type):
1625 with self.create_helper(tarinfo, status, type) as (item, status):
1626 item.rdev = os.makedev(tarinfo.devmajor, tarinfo.devminor)
1627 return status
1628
1629 def process_symlink(self, *, tarinfo, status, type):
1630 with self.create_helper(tarinfo, status, type) as (item, status):

Callers 2

_import_tarMethod · 0.95
_process_anyMethod · 0.45

Calls 1

create_helperMethod · 0.95

Tested by

no test coverage detected