Pike v8.1 release 6

Method Parser.RCS()->get_contents_for_revision()


Method get_contents_for_revision

string get_contents_for_revision(string|Revision rev, void|bool dont_cache_data)

Description

Returns the file contents from the revision rev, without performing any keyword expansion. If dont_cache_data is set we will not keep intermediate revisions in memory unless they already existed. This will cut down memory use at the expense of slow access to older revisions.

See also

expand_keywords_for_revision()