Lines Matching full:document
26 # 1) f: file handle for SPDX document
33 # 1) f: file handle for SPDX document
70 # 1) f: file handle for SPDX document
134 # 1) f: file handle for SPDX document
143 # Output tag-value SPDX 2.3 content for the given Document object.
145 # 1) f: file handle for SPDX document
146 # 2) doc: Document object being described
152 SPDXID: SPDXRef-DOCUMENT
160 # write any external document references
168 # write relationships owned by this Document (not by its Packages, etc.), if any
183 # Open SPDX document file for writing, write the document, and calculate
186 # 1) spdxPath: path to write SPDX document
187 # 2) doc: SPDX Document object to write
189 # create and write document to disk
191 log.inf(f"Writing SPDX document {doc.cfg.name} to {spdxPath}")
198 # calculate hash of the document we just wrote
201 log.err(f"Error: created document but unable to calculate hash values")