Part of lp.code.interfaces.diff View In Hierarchy
| Method | acquire | Get or create a StaticDiff. | 
| Method | acquireFromText | Get or create a StaticDiff from a string. | 
If a StaticDiff exists for this revision_id pair, the text is ignored.
| Parameters | from_revision_id | The id of the old revision. | 
| to_revision_id | The id of the new revision. | |
| text | The text of the diff, as bytes. | |
| filename | The filename to store for the diff. Randomly generated if not supplied. |