Lines Matching defs:add
16 # If applicable, add the following below this CDDL HEADER, with the
160 def add(self, name, offset, entry_size, size, typeflag):
489 # Always add base publisher directory to start; tarfile
492 self.add("/", arcname="publisher")
551 def add(self, pathname, arcname=None):
559 of a file to add to the archive. The file may be a regular
581 self.__index.add(ti.name, self.__queue_offset, entry_sz,
598 self.add(root, arcname=file_dir)
599 self.__processed_pfiles.add(file_dir)
606 self.add(root, arcname=hash_dir)
607 self.__processed_pfiles.add(hash_dir)
619 self.add(src, arcname=hash_fname)
624 self.__processed_pfiles.add(hash_fname)
653 # as a template to add other directories that should be present
662 self.add(root, arcname=d)
663 self.__processed_pfiles.add(d)
672 self.add(root, arcname=man_dir)
673 self.__processed_pfiles.add(man_dir)
676 self.add(mpath, arcname=arcname)
678 # Now add any files to the archive for every action that has a
698 payloads.add(c)
725 add.
747 add.
1242 self.add(fname, arcname="pkg5.repository")
1263 self.add(fn, arcname=arcname)
1289 tfile.add(self.__index.pathname, arcname=self.__idx_name)
1299 tfile.add(src, arcname=arcname, recursive=False)