003 File Manager
Current Path:
/usr/src/contrib/subversion/subversion/libsvn_fs_fs
usr
/
src
/
contrib
/
subversion
/
subversion
/
libsvn_fs_fs
/
📁
..
📄
cached_data.c
(131.44 KB)
📄
cached_data.h
(8.21 KB)
📄
caching.c
(32.09 KB)
📄
dag.c
(43.53 KB)
📄
dag.h
(23.1 KB)
📄
dump-index.c
(3.26 KB)
📄
fs.c
(22.44 KB)
📄
fs.h
(25.91 KB)
📄
fs_fs.c
(91.59 KB)
📄
fs_fs.h
(16.56 KB)
📄
fs_init.h
(1.26 KB)
📄
hotcopy.c
(43.96 KB)
📄
hotcopy.h
(2.19 KB)
📄
id.c
(16.58 KB)
📄
id.h
(6.16 KB)
📄
index.c
(120.67 KB)
📄
index.h
(14.71 KB)
📄
libsvn_fs_fs.pc.in
(390 B)
📄
load-index.c
(6.58 KB)
📄
lock.c
(44.12 KB)
📄
lock.h
(4.31 KB)
📄
low_level.c
(42.96 KB)
📄
low_level.h
(9.79 KB)
📄
pack.c
(77.28 KB)
📄
pack.h
(2.75 KB)
📄
recovery.c
(18.43 KB)
📄
recovery.h
(1.49 KB)
📄
rep-cache-db.h
(2.63 KB)
📄
rep-cache-db.sql
(3.17 KB)
📄
rep-cache.c
(13.1 KB)
📄
rep-cache.h
(4.07 KB)
📄
rev_file.c
(10.51 KB)
📄
rev_file.h
(5.8 KB)
📄
revprops.c
(57.26 KB)
📄
revprops.h
(7.8 KB)
📄
stats.c
(49.17 KB)
📄
structure
(33.72 KB)
📄
structure-indexes
(13.09 KB)
📄
temp_serializer.c
(44.84 KB)
📄
temp_serializer.h
(14.16 KB)
📄
transaction.c
(146.44 KB)
📄
transaction.h
(12.03 KB)
📄
tree.c
(169.05 KB)
📄
tree.h
(4.04 KB)
📄
util.c
(20.87 KB)
📄
util.h
(15 KB)
📄
verify.c
(33.4 KB)
📄
verify.h
(1.87 KB)
Editing: rep-cache.h
/* rep-cache.h : interface to rep cache db functions * * ==================================================================== * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * ==================================================================== */ #ifndef SVN_LIBSVN_FS_FS_REP_CACHE_H #define SVN_LIBSVN_FS_FS_REP_CACHE_H #include "svn_error.h" #include "fs.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #define REP_CACHE_DB_NAME "rep-cache.db" /* Open and create, if needed, the rep cache database associated with FS. Use POOL for temporary allocations. */ svn_error_t * svn_fs_fs__open_rep_cache(svn_fs_t *fs, apr_pool_t *pool); /* Close the rep cache database associated with FS. */ svn_error_t * svn_fs_fs__close_rep_cache(svn_fs_t *fs); /* Set *EXISTS to TRUE iff the rep-cache DB file exists. */ svn_error_t * svn_fs_fs__exists_rep_cache(svn_boolean_t *exists, svn_fs_t *fs, apr_pool_t *pool); /* Iterate all representations currently in FS's cache. */ svn_error_t * svn_fs_fs__walk_rep_reference(svn_fs_t *fs, svn_revnum_t start, svn_revnum_t end, svn_error_t *(*walker)(representation_t *rep, void *walker_baton, svn_fs_t *fs, apr_pool_t *scratch_pool), void *walker_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool); /* Return the representation REP in FS which has fulltext CHECKSUM. *REP_P is allocated in POOL. If the rep cache database has not been opened, just set *REP_P to NULL. Returns SVN_ERR_FS_CORRUPT if a reference beyond HEAD is detected. */ svn_error_t * svn_fs_fs__get_rep_reference(representation_t **rep_p, svn_fs_t *fs, svn_checksum_t *checksum, apr_pool_t *pool); /* Set the representation REP in FS, using REP->CHECKSUM. Use POOL for temporary allocations. Returns SVN_ERR_FS_CORRUPT if an existing reference beyond HEAD is detected. If the rep cache database has not been opened, this may be a no op. */ svn_error_t * svn_fs_fs__set_rep_reference(svn_fs_t *fs, representation_t *rep, apr_pool_t *pool); /* Delete from the cache all reps corresponding to revisions younger than YOUNGEST. */ svn_error_t * svn_fs_fs__del_rep_reference(svn_fs_t *fs, svn_revnum_t youngest, apr_pool_t *pool); /* Start a transaction to take an SQLite reserved lock that prevents other writes, call BODY, end the transaction, and return what BODY returned. */ svn_error_t * svn_fs_fs__with_rep_cache_lock(svn_fs_t *fs, svn_error_t *(*body)(void *baton, apr_pool_t *pool), void *baton, apr_pool_t *pool); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* SVN_LIBSVN_FS_FS_REP_CACHE_H */
Upload File
Create Folder