Lines Matching full:format
71 If @format is None, heuristics will be applied to guess the format
72 from the filename or Asset URL. @format must be non-None if @archive
75 def archive_extract(archive, dest_dir, format=None, member=None): argument
76 if format is None:
77 format = guess_archive_format(archive)
81 if format == "tar":
83 elif format == "zip":
85 elif format == "cpio":
89 elif format == "deb":
94 raise Exception(f"Unknown archive format {format}")
99 Guess the format of @compressed, raising an exception if
100 no format can be determined
106 raise Exception(f"Unable to guess archive format for {archive}")
117 raise Exception(f"Unknown archive format for {archive}")