⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wc.pm

📁 subversion-1.4.3-1.tar.gz 配置svn的源码
💻 PM
字号:
use strict;use warnings;package SVN::Wc;use SVN::Base qw(Wc svn_wc_);use SVN::Core;=head1 NAMESVN::Wc - Subversion working copy functions=head1 SYNOPSISIncomplete=head1 OBJECTS=cut swig_init_asp_dot_net_hack($SVN::Core::gpool);package _p_svn_wc_t;=head2 svn_wc_status_t=over 4=item $wcstat-E<gt>entry()A svn_wc_entry_t object for the item.  Can be undef if not under versioncontrol.=item $wcstat-E<gt>text_status()An integer representing the status of the item's text.  Can be one of the$SVN::Wc::Status::* constants.=item $wcstat-E<gt>prop_status()An integer representing the status of the item's properties.  Can be one of the$SVN::Wc::Status::* constants.=item $wcstat-E<gt>locked()A boolean telling if the item is locked.  A directory can be locked if aworking copy update was interrupted.=item $wcstat-E<gt>copied()A boolean telling if the item was copied.  A file or directory can be copied ifit's scheduled for addition-with-history (or part of a subtree that isscheduled as such).=item $wcstat-E<gt>switched()A boolean telling if the item was switched.  A file or directory can beswitched if the switch command has been used.=item $wcstat-E<gt>repos_text_status()An integer representing the status of the item's text in the repository.  Canbe one of the $SVN::Wc::Status::* constants.=item $wcstat-E<gt>repos_prop_status()An integer representing the status of the item's properties in the repository.Can be one of the $SVN::Wc::Status::* constants.=back=cutpackage _p_svn_wc_status_t;use SVN::Base qw(Wc svn_wc_status_t_);=head2 svn_wc_entry_t=over 4=item $wcent-E<gt>name()Entry's name.=item $wcent-E<gt>revision()Base revision.=item $wcent-E<gt>url()URL in repository.=item $wcent-E<gt>repos()Canonical repository URL.=item $wcent-E<gt>uuid()Repository uuid.=item $wcent-E<gt>kind()The kind of node.  One of the following constants:$SVN::Node::none, $SVN::Node::file,$SVN::Node::dir, $SVN::Node::unknown.=item $wcent-E<gt>schedule()Scheduling.  One of the SVN::Wc::Schedule::* constants.=item $wcent-E<gt>copied()In a copied state.=item $wcent-E<gt>deleted()Deleted, but parent rev lags behind.=item $wcent-E<gt>absent()Absent -- we know an entry of this name exists, but that's all (usually thishappens because of authz restrictions) =item $wcent-E<gt>incomplete()For THIS_DIR entry, implies whole entries file is incomplete.=item $wcent-E<gt>copyfrom_url()Copyfrom location.=item $wcent-E<gt>copyfrom_rev()Copyfrom revision.=item $wcent-E<gt>conflict_old()Old version of conflicted file.=item $wcent-E<gt>conflict_new()New version of conflicted file.=item $wcent-E<gt>conflict_wrk()Working version of conflicted file.=item $wcent-E<gt>prejfile()Property reject file.=item $wcent-E<gt>text_time()Last up-to-date time for text contents (0 means no information available).=item $wcent-E<gt>prop_time()Last up-to-date time for properties (0 means no information available).=item $wcent-E<gt>checksum()Base-64 encoded checksum for the untranslated text base file, can be undef forbackwards compatibility.=item $wcent-E<gt>cmt_rev()Last revision this was changed.=item $wcent-E<gt>cmt_date()Last date this was changed.=item $wcent-E<gt>cmt_author()Last commit author of this item.=back=cutpackage _p_svn_wc_entry_t;# still need to check if the function prototype allows it to be called# as method.use SVN::Base qw(Wc svn_wc_entry_t_);=head1 CONSTANTS=head2 SVN::Wc::Notify::Action=over 4=item $SVN::Wc::Notify::Action::addAdding a path to revision control.=item $SVN::Wc::Notify::Action::copyCopying a versioned path.=item $SVN::Wc::Notify::Action::deleteDeleting a versioned path.=item $SVN::Wc::Notify::Action::restoreRestoring a missing path from the pristine text-base.=item $SVN::Wc::Notify::Action::revertReverting a modified path.=item $SVN::Wc::Notify::Action::failed_revertA revert operation has failed.=item $SVN::Wc::Notify::Action::resolvedResolving a conflict.=item $SVN::Wc::Notify::Action::skipSkipping a path.=item $SVN::Wc::Notify::Action::update_deleteGot a delete in an update.=item $SVN::Wc::Notify::Action::update_addGot an add in an update.=item $SVN::Wc::Notify::Action::update_updateGot any other action in an update.=item $SVN::Wc::Notify::Action::update_completedThe last notification in an update (including updates of externals).=item $SVN::Wc::Notify::Action::update_externalUpdating an external module.=item $SVN::Wc::Notify::Action::status_completedThe last notification in a status (including status on externals).=item $SVN::Wc::Notify::Action::status_externalRunning status on an external module.=item $SVN::Wc::Notify::Action::commit_modifiedCommitting a modification.=item $SVN::Wc::Notify::Action::commit_addedCommitting an addition.=item $SVN::Wc::Notify::Action::commit_deletedCommitting a deletion.=item $SVN::Wc::Notify::Action::commit_replacedCommitting a replacement.=item $SVN::Wc::Notify::Action::commit_postfix_txdeltaTransmitting post-fix text-delta data for a file.=item $SVN::Wc::Notify::Action::blame_revisionProcessed a single revision's blame.=back=cut# no reasonable prefix for these enums # so we have to do them one by one to import.package SVN::Wc::Notify::Action;our $add = $SVN::Wc::notify_add;our $copy = $SVN::Wc::notify_copy;our $delete = $SVN::Wc::notify_delete;our $restore = $SVN::Wc::notify_restore;our $revert = $SVN::Wc::notify_revert;our $failed_revert = $SVN::Wc::notify_failed_revert;our $resolved = $SVN::Wc::notify_resolved;our $skip = $SVN::Wc::notify_skip;our $update_delete = $SVN::Wc::notify_update_delete;our $update_add = $SVN::Wc::notify_update_add;our $update_update = $SVN::Wc::notify_update_update;our $update_completed = $SVN::Wc::notify_update_completed;our $update_external = $SVN::Wc::notify_update_external;our $status_completed = $SVN::Wc::notify_status_completed;our $status_external = $SVN::Wc::notify_status_external;our $commit_modified = $SVN::Wc::notify_commit_modified;our $commit_added = $SVN::Wc::notify_commit_added;our $commit_deleted = $SVN::Wc::notify_commit_deleted;our $commit_replaced = $SVN::Wc::notify_commit_replaced;our $commit_postfix_txdelta = $SVN::Wc::notify_commit_postfix_txdelta;our $blame_revision = $SVN::Wc::notify_blame_revision;=head2 SVN::Wc::Notify::State=over 4=item $SVN::Wc::Notify::State::unknownNotifier doesn't know or isn't saying.=item $SVN::Wc::Notify::State::unchangedThe state did not change.=item $SVN::Wc::Notify::State::missingThe item wasn't present.=item $SVN::Wc::Notify::State::obstructedAn unversioned item obstructed work.=item $SVN::Wc::Notify::State::changedPristine state was modified.=item $SVN::Wc::Notify::State::mergedModified state had mods merged in.=item $SVN::Wc::Notify::State::conflictedModified state got conflicting mods.=back=cutpackage SVN::Wc::Notify::State;use SVN::Base qw(Wc svn_wc_notify_state_);=head2 SVN::Wc::Schedule=over 4=item $SVN::Wc::Schedule::normalNothing special here.=item $SVN::Wc::Schedule::addSlated for addition.=item $SVN::Wc::Schedule::deleteSlated for deletion.=item $SVN::Wc::Schedule::replaceSlated for replacement (delete + add)=back=cutpackage SVN::Wc::Schedule;use SVN::Base qw(Wc svn_wc_schedule_);=head2 SVN::Wc::Status=over 4=item $SVN::Wc::Status::noneDoes not exist.=item $SVN::Wc::Status::unversionedIs not a versioned node in this working copy.=item $SVN::Wc::Status::normalExists, but uninteresting.=item $SVN::Wc::Status::addedIs scheduled for addition.=item $SVN::Wc::Status::missingUnder version control but missing.=item $SVN::Wc::Status::deletedScheduled for deletion.=item $SVN::Wc::Status::replacedWas deleted and then re-added.=item $SVN::Wc::Status::modifiedText or props have been modified.=item $SVN::Wc::Status::mergedLocal mods received repos mods.=item $SVN::Wc::Status::conflictedLocal mods received conflicting mods.=item $SVN::Wc::Status::ignoredA node marked as ignored.=item $SVN::Wc::Status::obstructedAn unversioned resource is in the way of the versioned resource.=item $SVN::Wc::Status::externalAn unversioned path populated by an svn:externals property.=item $SVN::Wc::Status::incompleteA directory doesn't contain a complete entries list.=back=cutpackage SVN::Wc::Status;use SVN::Base qw(Wc svn_wc_status_);1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -