Home | History | Annotate | Download | only in python2.7

Lines Matching refs:sparse

89 GNUTYPE_SPARSE = "S"            # GNU tar sparse file
711 def __init__(self, fileobj, offset, size, sparse=None):
715 self.sparse = sparse
736 if self.sparse is None:
749 """Read operation for sparse files.
761 """Read a single section of a sparse file.
763 section = self.sparse.find(self.position)
791 getattr(tarinfo, "sparse", None))
1308 """Process a GNU sparse header plus extra headers.
1315 # There are 4 possible sparse structs in the
1355 self.sparse = sp
2480 # Helper classes for sparse file support
2491 """Represent a data section in a sparse file.
2498 """Represent a hole section in a sparse file.