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: diff.h
/* * lock.h: routines for diffing local files and directories. * * ==================================================================== * 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_DIFF_H #define SVN_LIBSVN_WC_DIFF_H #include <apr_pools.h> #include <apr_hash.h> #include "svn_types.h" #include "svn_error.h" #include "svn_wc.h" #include "wc_db.h" #include "private/svn_diff_tree.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* A function to diff locally added and locally copied files. Reports the file LOCAL_ABSPATH as ADDED file with relpath RELPATH to PROCESSOR with as parent baton PROCESSOR_PARENT_BATON. The node is expected to have status svn_wc__db_status_normal, or svn_wc__db_status_added. When DIFF_PRISTINE is TRUE, report the pristine version of LOCAL_ABSPATH as ADDED. In this case an svn_wc__db_status_deleted may shadow an added or deleted node. */ svn_error_t * svn_wc__diff_local_only_file(svn_wc__db_t *db, const char *local_abspath, const char *relpath, const char *moved_from_relpath, const svn_diff_tree_processor_t *processor, void *processor_parent_baton, svn_boolean_t diff_pristine, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool); /* A function to diff locally added and locally copied directories. Reports the directory LOCAL_ABSPATH and everything below it (limited by DEPTH) as added with relpath RELPATH to PROCESSOR with as parent baton PROCESSOR_PARENT_BATON. The node is expected to have status svn_wc__db_status_normal, or svn_wc__db_status_added. When DIFF_PRISTINE is TRUE, report the pristine version of LOCAL_ABSPATH as ADDED. In this case an svn_wc__db_status_deleted may shadow an added or deleted node. */ svn_error_t * svn_wc__diff_local_only_dir(svn_wc__db_t *db, const char *local_abspath, const char *relpath, svn_depth_t depth, const char *moved_from_relpath, const svn_diff_tree_processor_t *processor, void *processor_parent_baton, svn_boolean_t diff_pristine, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool); /* Reports the BASE-file LOCAL_ABSPATH as deleted to PROCESSOR with relpath RELPATH, revision REVISION and parent baton PROCESSOR_PARENT_BATON. If REVISION is invalid, the revision as stored in BASE is used. The node is expected to have status svn_wc__db_status_normal in BASE. */ svn_error_t * svn_wc__diff_base_only_file(svn_wc__db_t *db, const char *local_abspath, const char *relpath, svn_revnum_t revision, const svn_diff_tree_processor_t *processor, void *processor_parent_baton, apr_pool_t *scratch_pool); /* Reports the BASE-directory LOCAL_ABSPATH and everything below it (limited by DEPTH) as deleted to PROCESSOR with relpath RELPATH and parent baton PROCESSOR_PARENT_BATON. If REVISION is invalid, the revision as stored in BASE is used. The node is expected to have status svn_wc__db_status_normal in BASE. */ svn_error_t * svn_wc__diff_base_only_dir(svn_wc__db_t *db, const char *local_abspath, const char *relpath, svn_revnum_t revision, svn_depth_t depth, const svn_diff_tree_processor_t *processor, void *processor_parent_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool); /* Diff the file PATH against the text base of its BASE layer. At this * stage we are dealing with a file that does exist in the working copy. */ svn_error_t * svn_wc__diff_base_working_diff(svn_wc__db_t *db, const char *local_abspath, const char *relpath, svn_revnum_t revision, const svn_diff_tree_processor_t *processor, void *processor_dir_baton, svn_boolean_t diff_pristine, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool); /* Return a tree processor filter that filters by changelist membership. * * This filter only passes on the changes for a file if the file's path * (in the WC) is assigned to one of the changelists in @a changelist_hash. * It also passes on the opening and closing of each directory that contains * such a change, and possibly also of other directories, but not addition * or deletion or changes to a directory. * * If @a changelist_hash is null then no filtering is performed and the * returned diff processor is driven exactly like the input @a processor. * * @a wc_ctx is the WC context and @a root_local_abspath is the WC path of * the root of the diff (for which relpath = "" in the diff processor). * * Allocate the returned diff processor in @a result_pool, or if no * filtering is required then the input pointer @a processor itself may be * returned. */ const svn_diff_tree_processor_t * svn_wc__changelist_filter_tree_processor_create( const svn_diff_tree_processor_t *processor, svn_wc_context_t *wc_ctx, const char *root_local_abspath, apr_hash_t *changelist_hash, apr_pool_t *result_pool); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* SVN_LIBSVN_WC_DIFF_H */
Upload File
Create Folder