003 File Manager
Current Path:
/usr/src/contrib/subversion/subversion/libsvn_wc
usr
/
src
/
contrib
/
subversion
/
subversion
/
libsvn_wc
/
📁
..
📄
README
(9.5 KB)
📄
adm_crawler.c
(52.36 KB)
📄
adm_files.c
(20.21 KB)
📄
adm_files.h
(5.34 KB)
📄
adm_ops.c
(40.15 KB)
📄
ambient_depth_filter_editor.c
(21.68 KB)
📄
cleanup.c
(7.33 KB)
📄
conflicts.c
(152.54 KB)
📄
conflicts.h
(19.21 KB)
📄
context.c
(3.43 KB)
📄
copy.c
(45.56 KB)
📄
crop.c
(14.47 KB)
📄
delete.c
(19.04 KB)
📄
deprecated.c
(172.72 KB)
📄
diff.h
(7.02 KB)
📄
diff_editor.c
(116.98 KB)
📄
diff_local.c
(21.71 KB)
📄
entries.c
(107.62 KB)
📄
entries.h
(6.75 KB)
📄
externals.c
(64.3 KB)
📄
info.c
(20.66 KB)
📄
libsvn_wc.pc.in
(367 B)
📄
lock.c
(52.27 KB)
📄
lock.h
(3.07 KB)
📄
merge.c
(57.23 KB)
📄
node.c
(42.65 KB)
📄
old-and-busted.c
(42.24 KB)
📄
props.c
(89.9 KB)
📄
props.h
(5.98 KB)
📄
questions.c
(26.96 KB)
📄
relocate.c
(5.91 KB)
📄
revert.c
(37.16 KB)
📄
revision_status.c
(2.75 KB)
📄
status.c
(107.72 KB)
📄
token-map.h
(2.76 KB)
📄
translate.c
(15.68 KB)
📄
translate.h
(7.88 KB)
📄
tree_conflicts.c
(17.78 KB)
📄
tree_conflicts.h
(3.26 KB)
📄
update_editor.c
(214.25 KB)
📄
upgrade.c
(76.76 KB)
📄
util.c
(16.9 KB)
📄
wc-checks.h
(11.68 KB)
📄
wc-checks.sql
(11.67 KB)
📄
wc-metadata.h
(12.09 KB)
📄
wc-metadata.sql
(29.67 KB)
📄
wc-queries.h
(121.6 KB)
📄
wc-queries.sql
(61.37 KB)
📄
wc.h
(29.75 KB)
📄
wc_db.c
(588.65 KB)
📄
wc_db.h
(147.07 KB)
📄
wc_db_pristine.c
(35.13 KB)
📄
wc_db_private.h
(21.98 KB)
📄
wc_db_update_move.c
(175.6 KB)
📄
wc_db_util.c
(5.16 KB)
📄
wc_db_wcroot.c
(35.78 KB)
📄
wcroot_anchor.c
(8.75 KB)
📄
workqueue.c
(59.76 KB)
📄
workqueue.h
(9 KB)
Editing: adm_files.h
/* * adm_files.h : handles locations inside the wc adm area * (This should be the only code that actually knows * *where* things are in .svn/. If you can't get to * something via these interfaces, something's wrong.) * * ==================================================================== * 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_WC_ADM_FILES_H #define SVN_LIBSVN_WC_ADM_FILES_H #include <apr_pools.h> #include "svn_types.h" #include "props.h" #include "wc_db.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* Return a path to CHILD in the administrative area of PATH. If CHILD is NULL, then the path to the admin area is returned. The result is allocated in RESULT_POOL. */ const char *svn_wc__adm_child(const char *path, const char *child, apr_pool_t *result_pool); /* Return TRUE if the administrative area exists for this directory. */ svn_boolean_t svn_wc__adm_area_exists(const char *adm_abspath, apr_pool_t *pool); /* Set *CONTENTS to a readonly stream on the pristine text of the working * version of the file LOCAL_ABSPATH in DB. If the file is locally copied * or moved to this path, this means the pristine text of the copy source, * even if the file replaces a previously existing base node at this path. * * Set *CONTENTS to NULL if there is no pristine text because the file is * locally added (even if it replaces an existing base node). Return an * error if there is no pristine text for any other reason. * * If SIZE is not NULL, set *SIZE to the length of the pristine stream in * BYTES or to SVN_INVALID_FILESIZE if no pristine is available for this * file. * * For more detail, see the description of svn_wc_get_pristine_contents2(). */ svn_error_t * svn_wc__get_pristine_contents(svn_stream_t **contents, svn_filesize_t *size, svn_wc__db_t *db, const char *local_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool); /* Set *RESULT_ABSPATH to the absolute path to a readable file containing the WC-1 "normal text-base" of LOCAL_ABSPATH in DB. "Normal text-base" means the same as in svn_wc__text_base_path(). ### May want to check the callers' exact requirements and replace this definition with something easier to comprehend. What the callers want: A path to a file that will remain available and unchanged as long as the caller wants it - such as for the lifetime of RESULT_POOL. What the current implementation provides: A path to the file in the pristine store. This file will be removed or replaced the next time this or another Subversion client updates the WC. If the node LOCAL_ABSPATH has no such pristine text, return an error of type SVN_ERR_WC_PATH_UNEXPECTED_STATUS. Allocate *RESULT_PATH in RESULT_POOL. */ svn_error_t * svn_wc__text_base_path_to_read(const char **result_abspath, svn_wc__db_t *db, const char *local_abspath, apr_pool_t *result_pool, apr_pool_t *scratch_pool); /*** Opening all kinds of adm files ***/ /* Open `PATH/<adminstrative_subdir>/FNAME'. */ svn_error_t *svn_wc__open_adm_stream(svn_stream_t **stream, const char *dir_abspath, const char *fname, apr_pool_t *result_pool, apr_pool_t *scratch_pool); /* Blow away the admistrative directory associated with DIR_ABSPATH. For single-db this doesn't perform actual work unless the wcroot is passed. */ svn_error_t *svn_wc__adm_destroy(svn_wc__db_t *db, const char *dir_abspath, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool); /* Cleanup the temporary storage area of the administrative directory (assuming temp and admin areas exist). */ svn_error_t * svn_wc__adm_cleanup_tmp_area(svn_wc__db_t *db, const char *adm_abspath, apr_pool_t *scratch_pool); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* SVN_LIBSVN_WC_ADM_FILES_H */
Upload File
Create Folder