diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2017-08-10 21:48:34 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2017-08-10 21:48:34 +0000 |
| commit | a55fb3c0d5eca7d887798125d5b95942b1f01d4b (patch) | |
| tree | ac93b49309d9d1a772298a551fc58116a1ccefad /subversion/libsvn_fs_fs/cached_data.h | |
| parent | 608944fa5a78d7f517c9c73a7ded6c130cc97b83 (diff) | |
Diffstat (limited to 'subversion/libsvn_fs_fs/cached_data.h')
| -rw-r--r-- | subversion/libsvn_fs_fs/cached_data.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/subversion/libsvn_fs_fs/cached_data.h b/subversion/libsvn_fs_fs/cached_data.h index 9bdc51c3df6e..07fa956765e0 100644 --- a/subversion/libsvn_fs_fs/cached_data.h +++ b/subversion/libsvn_fs_fs/cached_data.h @@ -81,6 +81,18 @@ svn_fs_fs__get_contents(svn_stream_t **contents_p, svn_boolean_t cache_fulltext, apr_pool_t *pool); +/* Set *CONTENTS_P to be a readable svn_stream_t that receives the text + representation REP as seen in filesystem FS. Read the latest element + of the delta chain from FILE at offset OFFSET. + Use POOL for allocations. */ +svn_error_t * +svn_fs_fs__get_contents_from_file(svn_stream_t **contents_p, + svn_fs_t *fs, + representation_t *rep, + apr_file_t *file, + apr_off_t offset, + apr_pool_t *pool); + /* Attempt to fetch the text representation of node-revision NODEREV as seen in filesystem FS and pass it along with the BATON to the PROCESSOR. Set *SUCCESS only of the data could be provided and the processing |
