79
76
# then we should stream a tar file and unpack that on the fly.
81
78
for unused in dir_exporter_generator(tree, dest, root, subdir,
87
chunks = tree.archive(format, dest, root=root,
84
chunks = tree.archive(format, dest, root=root, subdir=subdir, force_mtime=force_mtime)
92
88
elif fileobj is not None:
96
92
with open(dest, 'wb') as f:
101
97
def guess_format(filename, default='dir'):