1# This file was automatically generated by SWIG (http://www.swig.org). 2# Version 3.0.12 3# 4# Do not make changes to this file unless you know what you are doing--modify 5# the SWIG interface file instead. 6 7 8def _dll_paths(): 9 import os 10 if hasattr(os, 'add_dll_directory'): # Python 3.8+ on Windows 11 cookies = [] 12 for path in os.environ.get('PATH', '').split(os.pathsep): 13 if path and os.path.isabs(path): 14 try: 15 cookie = os.add_dll_directory(path) 16 except OSError: 17 continue 18 else: 19 cookies.append(cookie) 20 return cookies 21 else: 22 return () 23 24_dll_paths = _dll_paths() 25try: 26 from . import _core 27finally: 28 _dll_path = None 29 for _dll_path in _dll_paths: 30 _dll_path.close() 31 del _dll_paths, _dll_path 32 33try: 34 _swig_property = property 35except NameError: 36 pass # Python < 2.2 doesn't have 'property'. 37 38try: 39 import builtins as __builtin__ 40except ImportError: 41 import __builtin__ 42 43def _swig_setattr_nondynamic(self, class_type, name, value, static=1): 44 if (name == "thisown"): 45 return self.this.own(value) 46 if (name == "this"): 47 if type(value).__name__ == 'SwigPyObject': 48 self.__dict__[name] = value 49 return 50 method = class_type.__swig_setmethods__.get(name, None) 51 if method: 52 return method(self, value) 53 if (not static): 54 object.__setattr__(self, name, value) 55 else: 56 raise AttributeError("You cannot add attributes to %s" % self) 57 58 59def _swig_setattr(self, class_type, name, value): 60 return _swig_setattr_nondynamic(self, class_type, name, value, 0) 61 62 63def _swig_getattr(self, class_type, name): 64 if (name == "thisown"): 65 return self.this.own() 66 method = class_type.__swig_getmethods__.get(name, None) 67 if method: 68 return method(self) 69 raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name)) 70 71 72def _swig_repr(self): 73 try: 74 strthis = "proxy of " + self.this.__repr__() 75 except __builtin__.Exception: 76 strthis = "" 77 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) 78 79 80def _swig_setattr_nondynamic_method(set): 81 def set_attr(self, name, value): 82 if (name == "thisown"): 83 return self.this.own(value) 84 if hasattr(self, name) or (name == "this"): 85 set(self, name, value) 86 else: 87 raise AttributeError("You cannot add attributes to %s" % self) 88 return set_attr 89 90 91 92def _copy_metadata_deep(value, old_value): 93 """Copy all attributes of old_value into value, recursively traversing 94 lists and dicts if needed.""" 95 if value is None or old_value is None or value is old_value: return 96 97 if isinstance(value, dict): 98 for k in value: 99 _copy_metadata_deep(value[k], old_value[k]) 100 elif isinstance(value, list): 101 for v, old_v in zip(value, old_value): 102 _copy_metadata_deep(v, old_v) 103 else: 104 try: 105 value.__dict__.update(old_value.__dict__) 106 except AttributeError: 107 pass 108 109def _assert_valid_deep(value): 110 """Assert value's validity, recursively traversing lists and dicts.""" 111 if isinstance(value, dict): 112 for k in value: 113 _assert_valid_deep(value[k]) 114 elif isinstance(value, list): 115 for v in value: 116 _assert_valid_deep(v) 117# Ensure that the passed in value isn't a type, which could have an 118# assert_valid attribute, but it can not be called without an instance. 119 elif type(value) != type: 120 try: 121 fn = value.assert_valid 122 except AttributeError: 123 pass 124 else: 125 fn() 126 127 128 129 # SWIG classes generated with -modern do not define this variable 130try: 131 _newclass 132except NameError: 133 _newclass = 1 134else: 135 raise RuntimeError("Require -modern option, but _newclass is defined") 136 137_get_instance_attr = object.__getattribute__ 138_set_instance_attr = _swig_setattr_nondynamic_method(object.__setattr__) 139 140 141SWIG_SVN_INVALID_REVNUM = _core.SWIG_SVN_INVALID_REVNUM 142SWIG_SVN_IGNORED_REVNUM = _core.SWIG_SVN_IGNORED_REVNUM 143 144def apr_initialize() -> "apr_status_t": 145 """apr_initialize() -> apr_status_t""" 146 return _core.apr_initialize() 147 148def apr_terminate() -> "void": 149 """apr_terminate()""" 150 return _core.apr_terminate() 151 152def apr_time_ansi_put(input: 'time_t') -> "apr_int64_t *": 153 """apr_time_ansi_put(time_t input) -> apr_status_t""" 154 return _core.apr_time_ansi_put(input) 155 156def apr_pool_destroy(*args) -> "void": 157 """apr_pool_destroy(apr_pool_t p)""" 158 return _core.apr_pool_destroy(*args) 159 160def apr_pool_clear(*args) -> "void": 161 """apr_pool_clear(apr_pool_t p)""" 162 return _core.apr_pool_clear(*args) 163 164def apr_file_open_stdout(*args) -> "apr_file_t **": 165 """apr_file_open_stdout(apr_pool_t pool) -> apr_status_t""" 166 return _core.apr_file_open_stdout(*args) 167 168def apr_file_open_stderr(*args) -> "apr_file_t **": 169 """apr_file_open_stderr(apr_pool_t pool) -> apr_status_t""" 170 return _core.apr_file_open_stderr(*args) 171SVN_ERR_CATEGORY_SIZE = _core.SVN_ERR_CATEGORY_SIZE 172SVN_WARNING = _core.SVN_WARNING 173SVN_ERR_BAD_CONTAINING_POOL = _core.SVN_ERR_BAD_CONTAINING_POOL 174SVN_ERR_BAD_FILENAME = _core.SVN_ERR_BAD_FILENAME 175SVN_ERR_BAD_URL = _core.SVN_ERR_BAD_URL 176SVN_ERR_BAD_DATE = _core.SVN_ERR_BAD_DATE 177SVN_ERR_BAD_MIME_TYPE = _core.SVN_ERR_BAD_MIME_TYPE 178SVN_ERR_BAD_PROPERTY_VALUE = _core.SVN_ERR_BAD_PROPERTY_VALUE 179SVN_ERR_BAD_VERSION_FILE_FORMAT = _core.SVN_ERR_BAD_VERSION_FILE_FORMAT 180SVN_ERR_BAD_RELATIVE_PATH = _core.SVN_ERR_BAD_RELATIVE_PATH 181SVN_ERR_BAD_UUID = _core.SVN_ERR_BAD_UUID 182SVN_ERR_BAD_CONFIG_VALUE = _core.SVN_ERR_BAD_CONFIG_VALUE 183SVN_ERR_BAD_SERVER_SPECIFICATION = _core.SVN_ERR_BAD_SERVER_SPECIFICATION 184SVN_ERR_BAD_CHECKSUM_KIND = _core.SVN_ERR_BAD_CHECKSUM_KIND 185SVN_ERR_BAD_CHECKSUM_PARSE = _core.SVN_ERR_BAD_CHECKSUM_PARSE 186SVN_ERR_BAD_TOKEN = _core.SVN_ERR_BAD_TOKEN 187SVN_ERR_BAD_CHANGELIST_NAME = _core.SVN_ERR_BAD_CHANGELIST_NAME 188SVN_ERR_BAD_ATOMIC = _core.SVN_ERR_BAD_ATOMIC 189SVN_ERR_BAD_COMPRESSION_METHOD = _core.SVN_ERR_BAD_COMPRESSION_METHOD 190SVN_ERR_BAD_PROPERTY_VALUE_EOL = _core.SVN_ERR_BAD_PROPERTY_VALUE_EOL 191SVN_ERR_XML_ATTRIB_NOT_FOUND = _core.SVN_ERR_XML_ATTRIB_NOT_FOUND 192SVN_ERR_XML_MISSING_ANCESTRY = _core.SVN_ERR_XML_MISSING_ANCESTRY 193SVN_ERR_XML_UNKNOWN_ENCODING = _core.SVN_ERR_XML_UNKNOWN_ENCODING 194SVN_ERR_XML_MALFORMED = _core.SVN_ERR_XML_MALFORMED 195SVN_ERR_XML_UNESCAPABLE_DATA = _core.SVN_ERR_XML_UNESCAPABLE_DATA 196SVN_ERR_XML_UNEXPECTED_ELEMENT = _core.SVN_ERR_XML_UNEXPECTED_ELEMENT 197SVN_ERR_IO_INCONSISTENT_EOL = _core.SVN_ERR_IO_INCONSISTENT_EOL 198SVN_ERR_IO_UNKNOWN_EOL = _core.SVN_ERR_IO_UNKNOWN_EOL 199SVN_ERR_IO_CORRUPT_EOL = _core.SVN_ERR_IO_CORRUPT_EOL 200SVN_ERR_IO_UNIQUE_NAMES_EXHAUSTED = _core.SVN_ERR_IO_UNIQUE_NAMES_EXHAUSTED 201SVN_ERR_IO_PIPE_FRAME_ERROR = _core.SVN_ERR_IO_PIPE_FRAME_ERROR 202SVN_ERR_IO_PIPE_READ_ERROR = _core.SVN_ERR_IO_PIPE_READ_ERROR 203SVN_ERR_IO_WRITE_ERROR = _core.SVN_ERR_IO_WRITE_ERROR 204SVN_ERR_IO_PIPE_WRITE_ERROR = _core.SVN_ERR_IO_PIPE_WRITE_ERROR 205SVN_ERR_STREAM_UNEXPECTED_EOF = _core.SVN_ERR_STREAM_UNEXPECTED_EOF 206SVN_ERR_STREAM_MALFORMED_DATA = _core.SVN_ERR_STREAM_MALFORMED_DATA 207SVN_ERR_STREAM_UNRECOGNIZED_DATA = _core.SVN_ERR_STREAM_UNRECOGNIZED_DATA 208SVN_ERR_STREAM_SEEK_NOT_SUPPORTED = _core.SVN_ERR_STREAM_SEEK_NOT_SUPPORTED 209SVN_ERR_STREAM_NOT_SUPPORTED = _core.SVN_ERR_STREAM_NOT_SUPPORTED 210SVN_ERR_NODE_UNKNOWN_KIND = _core.SVN_ERR_NODE_UNKNOWN_KIND 211SVN_ERR_NODE_UNEXPECTED_KIND = _core.SVN_ERR_NODE_UNEXPECTED_KIND 212SVN_ERR_ENTRY_NOT_FOUND = _core.SVN_ERR_ENTRY_NOT_FOUND 213SVN_ERR_ENTRY_EXISTS = _core.SVN_ERR_ENTRY_EXISTS 214SVN_ERR_ENTRY_MISSING_REVISION = _core.SVN_ERR_ENTRY_MISSING_REVISION 215SVN_ERR_ENTRY_MISSING_URL = _core.SVN_ERR_ENTRY_MISSING_URL 216SVN_ERR_ENTRY_ATTRIBUTE_INVALID = _core.SVN_ERR_ENTRY_ATTRIBUTE_INVALID 217SVN_ERR_ENTRY_FORBIDDEN = _core.SVN_ERR_ENTRY_FORBIDDEN 218SVN_ERR_WC_OBSTRUCTED_UPDATE = _core.SVN_ERR_WC_OBSTRUCTED_UPDATE 219SVN_ERR_WC_UNWIND_MISMATCH = _core.SVN_ERR_WC_UNWIND_MISMATCH 220SVN_ERR_WC_UNWIND_EMPTY = _core.SVN_ERR_WC_UNWIND_EMPTY 221SVN_ERR_WC_UNWIND_NOT_EMPTY = _core.SVN_ERR_WC_UNWIND_NOT_EMPTY 222SVN_ERR_WC_LOCKED = _core.SVN_ERR_WC_LOCKED 223SVN_ERR_WC_NOT_LOCKED = _core.SVN_ERR_WC_NOT_LOCKED 224SVN_ERR_WC_INVALID_LOCK = _core.SVN_ERR_WC_INVALID_LOCK 225SVN_ERR_WC_NOT_WORKING_COPY = _core.SVN_ERR_WC_NOT_WORKING_COPY 226SVN_ERR_WC_NOT_DIRECTORY = _core.SVN_ERR_WC_NOT_DIRECTORY 227SVN_ERR_WC_NOT_FILE = _core.SVN_ERR_WC_NOT_FILE 228SVN_ERR_WC_BAD_ADM_LOG = _core.SVN_ERR_WC_BAD_ADM_LOG 229SVN_ERR_WC_PATH_NOT_FOUND = _core.SVN_ERR_WC_PATH_NOT_FOUND 230SVN_ERR_WC_NOT_UP_TO_DATE = _core.SVN_ERR_WC_NOT_UP_TO_DATE 231SVN_ERR_WC_LEFT_LOCAL_MOD = _core.SVN_ERR_WC_LEFT_LOCAL_MOD 232SVN_ERR_WC_SCHEDULE_CONFLICT = _core.SVN_ERR_WC_SCHEDULE_CONFLICT 233SVN_ERR_WC_PATH_FOUND = _core.SVN_ERR_WC_PATH_FOUND 234SVN_ERR_WC_FOUND_CONFLICT = _core.SVN_ERR_WC_FOUND_CONFLICT 235SVN_ERR_WC_CORRUPT = _core.SVN_ERR_WC_CORRUPT 236SVN_ERR_WC_CORRUPT_TEXT_BASE = _core.SVN_ERR_WC_CORRUPT_TEXT_BASE 237SVN_ERR_WC_NODE_KIND_CHANGE = _core.SVN_ERR_WC_NODE_KIND_CHANGE 238SVN_ERR_WC_INVALID_OP_ON_CWD = _core.SVN_ERR_WC_INVALID_OP_ON_CWD 239SVN_ERR_WC_BAD_ADM_LOG_START = _core.SVN_ERR_WC_BAD_ADM_LOG_START 240SVN_ERR_WC_UNSUPPORTED_FORMAT = _core.SVN_ERR_WC_UNSUPPORTED_FORMAT 241SVN_ERR_WC_BAD_PATH = _core.SVN_ERR_WC_BAD_PATH 242SVN_ERR_WC_INVALID_SCHEDULE = _core.SVN_ERR_WC_INVALID_SCHEDULE 243SVN_ERR_WC_INVALID_RELOCATION = _core.SVN_ERR_WC_INVALID_RELOCATION 244SVN_ERR_WC_INVALID_SWITCH = _core.SVN_ERR_WC_INVALID_SWITCH 245SVN_ERR_WC_MISMATCHED_CHANGELIST = _core.SVN_ERR_WC_MISMATCHED_CHANGELIST 246SVN_ERR_WC_CONFLICT_RESOLVER_FAILURE = _core.SVN_ERR_WC_CONFLICT_RESOLVER_FAILURE 247SVN_ERR_WC_COPYFROM_PATH_NOT_FOUND = _core.SVN_ERR_WC_COPYFROM_PATH_NOT_FOUND 248SVN_ERR_WC_CHANGELIST_MOVE = _core.SVN_ERR_WC_CHANGELIST_MOVE 249SVN_ERR_WC_CANNOT_DELETE_FILE_EXTERNAL = _core.SVN_ERR_WC_CANNOT_DELETE_FILE_EXTERNAL 250SVN_ERR_WC_CANNOT_MOVE_FILE_EXTERNAL = _core.SVN_ERR_WC_CANNOT_MOVE_FILE_EXTERNAL 251SVN_ERR_WC_DB_ERROR = _core.SVN_ERR_WC_DB_ERROR 252SVN_ERR_WC_MISSING = _core.SVN_ERR_WC_MISSING 253SVN_ERR_WC_NOT_SYMLINK = _core.SVN_ERR_WC_NOT_SYMLINK 254SVN_ERR_WC_PATH_UNEXPECTED_STATUS = _core.SVN_ERR_WC_PATH_UNEXPECTED_STATUS 255SVN_ERR_WC_UPGRADE_REQUIRED = _core.SVN_ERR_WC_UPGRADE_REQUIRED 256SVN_ERR_WC_CLEANUP_REQUIRED = _core.SVN_ERR_WC_CLEANUP_REQUIRED 257SVN_ERR_WC_INVALID_OPERATION_DEPTH = _core.SVN_ERR_WC_INVALID_OPERATION_DEPTH 258SVN_ERR_WC_PATH_ACCESS_DENIED = _core.SVN_ERR_WC_PATH_ACCESS_DENIED 259SVN_ERR_WC_MIXED_REVISIONS = _core.SVN_ERR_WC_MIXED_REVISIONS 260SVN_ERR_WC_DUPLICATE_EXTERNALS_TARGET = _core.SVN_ERR_WC_DUPLICATE_EXTERNALS_TARGET 261SVN_ERR_FS_GENERAL = _core.SVN_ERR_FS_GENERAL 262SVN_ERR_FS_CLEANUP = _core.SVN_ERR_FS_CLEANUP 263SVN_ERR_FS_ALREADY_OPEN = _core.SVN_ERR_FS_ALREADY_OPEN 264SVN_ERR_FS_NOT_OPEN = _core.SVN_ERR_FS_NOT_OPEN 265SVN_ERR_FS_CORRUPT = _core.SVN_ERR_FS_CORRUPT 266SVN_ERR_FS_PATH_SYNTAX = _core.SVN_ERR_FS_PATH_SYNTAX 267SVN_ERR_FS_NO_SUCH_REVISION = _core.SVN_ERR_FS_NO_SUCH_REVISION 268SVN_ERR_FS_NO_SUCH_TRANSACTION = _core.SVN_ERR_FS_NO_SUCH_TRANSACTION 269SVN_ERR_FS_NO_SUCH_ENTRY = _core.SVN_ERR_FS_NO_SUCH_ENTRY 270SVN_ERR_FS_NO_SUCH_REPRESENTATION = _core.SVN_ERR_FS_NO_SUCH_REPRESENTATION 271SVN_ERR_FS_NO_SUCH_STRING = _core.SVN_ERR_FS_NO_SUCH_STRING 272SVN_ERR_FS_NO_SUCH_COPY = _core.SVN_ERR_FS_NO_SUCH_COPY 273SVN_ERR_FS_TRANSACTION_NOT_MUTABLE = _core.SVN_ERR_FS_TRANSACTION_NOT_MUTABLE 274SVN_ERR_FS_NOT_FOUND = _core.SVN_ERR_FS_NOT_FOUND 275SVN_ERR_FS_ID_NOT_FOUND = _core.SVN_ERR_FS_ID_NOT_FOUND 276SVN_ERR_FS_NOT_ID = _core.SVN_ERR_FS_NOT_ID 277SVN_ERR_FS_NOT_DIRECTORY = _core.SVN_ERR_FS_NOT_DIRECTORY 278SVN_ERR_FS_NOT_FILE = _core.SVN_ERR_FS_NOT_FILE 279SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT = _core.SVN_ERR_FS_NOT_SINGLE_PATH_COMPONENT 280SVN_ERR_FS_NOT_MUTABLE = _core.SVN_ERR_FS_NOT_MUTABLE 281SVN_ERR_FS_ALREADY_EXISTS = _core.SVN_ERR_FS_ALREADY_EXISTS 282SVN_ERR_FS_ROOT_DIR = _core.SVN_ERR_FS_ROOT_DIR 283SVN_ERR_FS_NOT_TXN_ROOT = _core.SVN_ERR_FS_NOT_TXN_ROOT 284SVN_ERR_FS_NOT_REVISION_ROOT = _core.SVN_ERR_FS_NOT_REVISION_ROOT 285SVN_ERR_FS_CONFLICT = _core.SVN_ERR_FS_CONFLICT 286SVN_ERR_FS_REP_CHANGED = _core.SVN_ERR_FS_REP_CHANGED 287SVN_ERR_FS_REP_NOT_MUTABLE = _core.SVN_ERR_FS_REP_NOT_MUTABLE 288SVN_ERR_FS_MALFORMED_SKEL = _core.SVN_ERR_FS_MALFORMED_SKEL 289SVN_ERR_FS_TXN_OUT_OF_DATE = _core.SVN_ERR_FS_TXN_OUT_OF_DATE 290SVN_ERR_FS_BERKELEY_DB = _core.SVN_ERR_FS_BERKELEY_DB 291SVN_ERR_FS_BERKELEY_DB_DEADLOCK = _core.SVN_ERR_FS_BERKELEY_DB_DEADLOCK 292SVN_ERR_FS_TRANSACTION_DEAD = _core.SVN_ERR_FS_TRANSACTION_DEAD 293SVN_ERR_FS_TRANSACTION_NOT_DEAD = _core.SVN_ERR_FS_TRANSACTION_NOT_DEAD 294SVN_ERR_FS_UNKNOWN_FS_TYPE = _core.SVN_ERR_FS_UNKNOWN_FS_TYPE 295SVN_ERR_FS_NO_USER = _core.SVN_ERR_FS_NO_USER 296SVN_ERR_FS_PATH_ALREADY_LOCKED = _core.SVN_ERR_FS_PATH_ALREADY_LOCKED 297SVN_ERR_FS_PATH_NOT_LOCKED = _core.SVN_ERR_FS_PATH_NOT_LOCKED 298SVN_ERR_FS_BAD_LOCK_TOKEN = _core.SVN_ERR_FS_BAD_LOCK_TOKEN 299SVN_ERR_FS_NO_LOCK_TOKEN = _core.SVN_ERR_FS_NO_LOCK_TOKEN 300SVN_ERR_FS_LOCK_OWNER_MISMATCH = _core.SVN_ERR_FS_LOCK_OWNER_MISMATCH 301SVN_ERR_FS_NO_SUCH_LOCK = _core.SVN_ERR_FS_NO_SUCH_LOCK 302SVN_ERR_FS_LOCK_EXPIRED = _core.SVN_ERR_FS_LOCK_EXPIRED 303SVN_ERR_FS_OUT_OF_DATE = _core.SVN_ERR_FS_OUT_OF_DATE 304SVN_ERR_FS_UNSUPPORTED_FORMAT = _core.SVN_ERR_FS_UNSUPPORTED_FORMAT 305SVN_ERR_FS_REP_BEING_WRITTEN = _core.SVN_ERR_FS_REP_BEING_WRITTEN 306SVN_ERR_FS_TXN_NAME_TOO_LONG = _core.SVN_ERR_FS_TXN_NAME_TOO_LONG 307SVN_ERR_FS_NO_SUCH_NODE_ORIGIN = _core.SVN_ERR_FS_NO_SUCH_NODE_ORIGIN 308SVN_ERR_FS_UNSUPPORTED_UPGRADE = _core.SVN_ERR_FS_UNSUPPORTED_UPGRADE 309SVN_ERR_FS_NO_SUCH_CHECKSUM_REP = _core.SVN_ERR_FS_NO_SUCH_CHECKSUM_REP 310SVN_ERR_FS_PROP_BASEVALUE_MISMATCH = _core.SVN_ERR_FS_PROP_BASEVALUE_MISMATCH 311SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION = _core.SVN_ERR_FS_INCORRECT_EDITOR_COMPLETION 312SVN_ERR_FS_PACKED_REVPROP_READ_FAILURE = _core.SVN_ERR_FS_PACKED_REVPROP_READ_FAILURE 313SVN_ERR_FS_REVPROP_CACHE_INIT_FAILURE = _core.SVN_ERR_FS_REVPROP_CACHE_INIT_FAILURE 314SVN_ERR_FS_MALFORMED_TXN_ID = _core.SVN_ERR_FS_MALFORMED_TXN_ID 315SVN_ERR_FS_INDEX_CORRUPTION = _core.SVN_ERR_FS_INDEX_CORRUPTION 316SVN_ERR_FS_INDEX_REVISION = _core.SVN_ERR_FS_INDEX_REVISION 317SVN_ERR_FS_INDEX_OVERFLOW = _core.SVN_ERR_FS_INDEX_OVERFLOW 318SVN_ERR_FS_CONTAINER_INDEX = _core.SVN_ERR_FS_CONTAINER_INDEX 319SVN_ERR_FS_INDEX_INCONSISTENT = _core.SVN_ERR_FS_INDEX_INCONSISTENT 320SVN_ERR_FS_LOCK_OPERATION_FAILED = _core.SVN_ERR_FS_LOCK_OPERATION_FAILED 321SVN_ERR_FS_UNSUPPORTED_TYPE = _core.SVN_ERR_FS_UNSUPPORTED_TYPE 322SVN_ERR_FS_CONTAINER_SIZE = _core.SVN_ERR_FS_CONTAINER_SIZE 323SVN_ERR_FS_MALFORMED_NODEREV_ID = _core.SVN_ERR_FS_MALFORMED_NODEREV_ID 324SVN_ERR_FS_INVALID_GENERATION = _core.SVN_ERR_FS_INVALID_GENERATION 325SVN_ERR_FS_CORRUPT_REVPROP_MANIFEST = _core.SVN_ERR_FS_CORRUPT_REVPROP_MANIFEST 326SVN_ERR_FS_CORRUPT_PROPLIST = _core.SVN_ERR_FS_CORRUPT_PROPLIST 327SVN_ERR_FS_AMBIGUOUS_CHECKSUM_REP = _core.SVN_ERR_FS_AMBIGUOUS_CHECKSUM_REP 328SVN_ERR_FS_UNRECOGNIZED_IOCTL_CODE = _core.SVN_ERR_FS_UNRECOGNIZED_IOCTL_CODE 329SVN_ERR_FS_REP_SHARING_NOT_ALLOWED = _core.SVN_ERR_FS_REP_SHARING_NOT_ALLOWED 330SVN_ERR_FS_REP_SHARING_NOT_SUPPORTED = _core.SVN_ERR_FS_REP_SHARING_NOT_SUPPORTED 331SVN_ERR_REPOS_LOCKED = _core.SVN_ERR_REPOS_LOCKED 332SVN_ERR_REPOS_HOOK_FAILURE = _core.SVN_ERR_REPOS_HOOK_FAILURE 333SVN_ERR_REPOS_BAD_ARGS = _core.SVN_ERR_REPOS_BAD_ARGS 334SVN_ERR_REPOS_NO_DATA_FOR_REPORT = _core.SVN_ERR_REPOS_NO_DATA_FOR_REPORT 335SVN_ERR_REPOS_BAD_REVISION_REPORT = _core.SVN_ERR_REPOS_BAD_REVISION_REPORT 336SVN_ERR_REPOS_UNSUPPORTED_VERSION = _core.SVN_ERR_REPOS_UNSUPPORTED_VERSION 337SVN_ERR_REPOS_DISABLED_FEATURE = _core.SVN_ERR_REPOS_DISABLED_FEATURE 338SVN_ERR_REPOS_POST_COMMIT_HOOK_FAILED = _core.SVN_ERR_REPOS_POST_COMMIT_HOOK_FAILED 339SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED = _core.SVN_ERR_REPOS_POST_LOCK_HOOK_FAILED 340SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED = _core.SVN_ERR_REPOS_POST_UNLOCK_HOOK_FAILED 341SVN_ERR_REPOS_UNSUPPORTED_UPGRADE = _core.SVN_ERR_REPOS_UNSUPPORTED_UPGRADE 342SVN_ERR_RA_ILLEGAL_URL = _core.SVN_ERR_RA_ILLEGAL_URL 343SVN_ERR_RA_NOT_AUTHORIZED = _core.SVN_ERR_RA_NOT_AUTHORIZED 344SVN_ERR_RA_UNKNOWN_AUTH = _core.SVN_ERR_RA_UNKNOWN_AUTH 345SVN_ERR_RA_NOT_IMPLEMENTED = _core.SVN_ERR_RA_NOT_IMPLEMENTED 346SVN_ERR_RA_OUT_OF_DATE = _core.SVN_ERR_RA_OUT_OF_DATE 347SVN_ERR_RA_NO_REPOS_UUID = _core.SVN_ERR_RA_NO_REPOS_UUID 348SVN_ERR_RA_UNSUPPORTED_ABI_VERSION = _core.SVN_ERR_RA_UNSUPPORTED_ABI_VERSION 349SVN_ERR_RA_NOT_LOCKED = _core.SVN_ERR_RA_NOT_LOCKED 350SVN_ERR_RA_PARTIAL_REPLAY_NOT_SUPPORTED = _core.SVN_ERR_RA_PARTIAL_REPLAY_NOT_SUPPORTED 351SVN_ERR_RA_UUID_MISMATCH = _core.SVN_ERR_RA_UUID_MISMATCH 352SVN_ERR_RA_REPOS_ROOT_URL_MISMATCH = _core.SVN_ERR_RA_REPOS_ROOT_URL_MISMATCH 353SVN_ERR_RA_SESSION_URL_MISMATCH = _core.SVN_ERR_RA_SESSION_URL_MISMATCH 354SVN_ERR_RA_CANNOT_CREATE_TUNNEL = _core.SVN_ERR_RA_CANNOT_CREATE_TUNNEL 355SVN_ERR_RA_CANNOT_CREATE_SESSION = _core.SVN_ERR_RA_CANNOT_CREATE_SESSION 356SVN_ERR_RA_DAV_SOCK_INIT = _core.SVN_ERR_RA_DAV_SOCK_INIT 357SVN_ERR_RA_DAV_CREATING_REQUEST = _core.SVN_ERR_RA_DAV_CREATING_REQUEST 358SVN_ERR_RA_DAV_REQUEST_FAILED = _core.SVN_ERR_RA_DAV_REQUEST_FAILED 359SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED = _core.SVN_ERR_RA_DAV_OPTIONS_REQ_FAILED 360SVN_ERR_RA_DAV_PROPS_NOT_FOUND = _core.SVN_ERR_RA_DAV_PROPS_NOT_FOUND 361SVN_ERR_RA_DAV_ALREADY_EXISTS = _core.SVN_ERR_RA_DAV_ALREADY_EXISTS 362SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE = _core.SVN_ERR_RA_DAV_INVALID_CONFIG_VALUE 363SVN_ERR_RA_DAV_PATH_NOT_FOUND = _core.SVN_ERR_RA_DAV_PATH_NOT_FOUND 364SVN_ERR_RA_DAV_PROPPATCH_FAILED = _core.SVN_ERR_RA_DAV_PROPPATCH_FAILED 365SVN_ERR_RA_DAV_MALFORMED_DATA = _core.SVN_ERR_RA_DAV_MALFORMED_DATA 366SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS = _core.SVN_ERR_RA_DAV_RESPONSE_HEADER_BADNESS 367SVN_ERR_RA_DAV_RELOCATED = _core.SVN_ERR_RA_DAV_RELOCATED 368SVN_ERR_RA_DAV_CONN_TIMEOUT = _core.SVN_ERR_RA_DAV_CONN_TIMEOUT 369SVN_ERR_RA_DAV_FORBIDDEN = _core.SVN_ERR_RA_DAV_FORBIDDEN 370SVN_ERR_RA_DAV_PRECONDITION_FAILED = _core.SVN_ERR_RA_DAV_PRECONDITION_FAILED 371SVN_ERR_RA_DAV_METHOD_NOT_ALLOWED = _core.SVN_ERR_RA_DAV_METHOD_NOT_ALLOWED 372SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND = _core.SVN_ERR_RA_LOCAL_REPOS_NOT_FOUND 373SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED = _core.SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED 374SVN_ERR_SVNDIFF_INVALID_HEADER = _core.SVN_ERR_SVNDIFF_INVALID_HEADER 375SVN_ERR_SVNDIFF_CORRUPT_WINDOW = _core.SVN_ERR_SVNDIFF_CORRUPT_WINDOW 376SVN_ERR_SVNDIFF_BACKWARD_VIEW = _core.SVN_ERR_SVNDIFF_BACKWARD_VIEW 377SVN_ERR_SVNDIFF_INVALID_OPS = _core.SVN_ERR_SVNDIFF_INVALID_OPS 378SVN_ERR_SVNDIFF_UNEXPECTED_END = _core.SVN_ERR_SVNDIFF_UNEXPECTED_END 379SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA = _core.SVN_ERR_SVNDIFF_INVALID_COMPRESSED_DATA 380SVN_ERR_APMOD_MISSING_PATH_TO_FS = _core.SVN_ERR_APMOD_MISSING_PATH_TO_FS 381SVN_ERR_APMOD_MALFORMED_URI = _core.SVN_ERR_APMOD_MALFORMED_URI 382SVN_ERR_APMOD_ACTIVITY_NOT_FOUND = _core.SVN_ERR_APMOD_ACTIVITY_NOT_FOUND 383SVN_ERR_APMOD_BAD_BASELINE = _core.SVN_ERR_APMOD_BAD_BASELINE 384SVN_ERR_APMOD_CONNECTION_ABORTED = _core.SVN_ERR_APMOD_CONNECTION_ABORTED 385SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED = _core.SVN_ERR_CLIENT_VERSIONED_PATH_REQUIRED 386SVN_ERR_CLIENT_RA_ACCESS_REQUIRED = _core.SVN_ERR_CLIENT_RA_ACCESS_REQUIRED 387SVN_ERR_CLIENT_BAD_REVISION = _core.SVN_ERR_CLIENT_BAD_REVISION 388SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL = _core.SVN_ERR_CLIENT_DUPLICATE_COMMIT_URL 389SVN_ERR_CLIENT_IS_BINARY_FILE = _core.SVN_ERR_CLIENT_IS_BINARY_FILE 390SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION = _core.SVN_ERR_CLIENT_INVALID_EXTERNALS_DESCRIPTION 391SVN_ERR_CLIENT_MODIFIED = _core.SVN_ERR_CLIENT_MODIFIED 392SVN_ERR_CLIENT_IS_DIRECTORY = _core.SVN_ERR_CLIENT_IS_DIRECTORY 393SVN_ERR_CLIENT_REVISION_RANGE = _core.SVN_ERR_CLIENT_REVISION_RANGE 394SVN_ERR_CLIENT_INVALID_RELOCATION = _core.SVN_ERR_CLIENT_INVALID_RELOCATION 395SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE = _core.SVN_ERR_CLIENT_REVISION_AUTHOR_CONTAINS_NEWLINE 396SVN_ERR_CLIENT_PROPERTY_NAME = _core.SVN_ERR_CLIENT_PROPERTY_NAME 397SVN_ERR_CLIENT_UNRELATED_RESOURCES = _core.SVN_ERR_CLIENT_UNRELATED_RESOURCES 398SVN_ERR_CLIENT_MISSING_LOCK_TOKEN = _core.SVN_ERR_CLIENT_MISSING_LOCK_TOKEN 399SVN_ERR_CLIENT_MULTIPLE_SOURCES_DISALLOWED = _core.SVN_ERR_CLIENT_MULTIPLE_SOURCES_DISALLOWED 400SVN_ERR_CLIENT_NO_VERSIONED_PARENT = _core.SVN_ERR_CLIENT_NO_VERSIONED_PARENT 401SVN_ERR_CLIENT_NOT_READY_TO_MERGE = _core.SVN_ERR_CLIENT_NOT_READY_TO_MERGE 402SVN_ERR_CLIENT_FILE_EXTERNAL_OVERWRITE_VERSIONED = _core.SVN_ERR_CLIENT_FILE_EXTERNAL_OVERWRITE_VERSIONED 403SVN_ERR_CLIENT_PATCH_BAD_STRIP_COUNT = _core.SVN_ERR_CLIENT_PATCH_BAD_STRIP_COUNT 404SVN_ERR_CLIENT_CYCLE_DETECTED = _core.SVN_ERR_CLIENT_CYCLE_DETECTED 405SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED = _core.SVN_ERR_CLIENT_MERGE_UPDATE_REQUIRED 406SVN_ERR_CLIENT_INVALID_MERGEINFO_NO_MERGETRACKING = _core.SVN_ERR_CLIENT_INVALID_MERGEINFO_NO_MERGETRACKING 407SVN_ERR_CLIENT_NO_LOCK_TOKEN = _core.SVN_ERR_CLIENT_NO_LOCK_TOKEN 408SVN_ERR_CLIENT_FORBIDDEN_BY_SERVER = _core.SVN_ERR_CLIENT_FORBIDDEN_BY_SERVER 409SVN_ERR_CLIENT_CONFLICT_OPTION_NOT_APPLICABLE = _core.SVN_ERR_CLIENT_CONFLICT_OPTION_NOT_APPLICABLE 410SVN_ERR_BASE = _core.SVN_ERR_BASE 411SVN_ERR_PLUGIN_LOAD_FAILURE = _core.SVN_ERR_PLUGIN_LOAD_FAILURE 412SVN_ERR_MALFORMED_FILE = _core.SVN_ERR_MALFORMED_FILE 413SVN_ERR_INCOMPLETE_DATA = _core.SVN_ERR_INCOMPLETE_DATA 414SVN_ERR_INCORRECT_PARAMS = _core.SVN_ERR_INCORRECT_PARAMS 415SVN_ERR_UNVERSIONED_RESOURCE = _core.SVN_ERR_UNVERSIONED_RESOURCE 416SVN_ERR_TEST_FAILED = _core.SVN_ERR_TEST_FAILED 417SVN_ERR_UNSUPPORTED_FEATURE = _core.SVN_ERR_UNSUPPORTED_FEATURE 418SVN_ERR_BAD_PROP_KIND = _core.SVN_ERR_BAD_PROP_KIND 419SVN_ERR_ILLEGAL_TARGET = _core.SVN_ERR_ILLEGAL_TARGET 420SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT = _core.SVN_ERR_DELTA_MD5_CHECKSUM_ABSENT 421SVN_ERR_DIR_NOT_EMPTY = _core.SVN_ERR_DIR_NOT_EMPTY 422SVN_ERR_EXTERNAL_PROGRAM = _core.SVN_ERR_EXTERNAL_PROGRAM 423SVN_ERR_SWIG_PY_EXCEPTION_SET = _core.SVN_ERR_SWIG_PY_EXCEPTION_SET 424SVN_ERR_CHECKSUM_MISMATCH = _core.SVN_ERR_CHECKSUM_MISMATCH 425SVN_ERR_CANCELLED = _core.SVN_ERR_CANCELLED 426SVN_ERR_INVALID_DIFF_OPTION = _core.SVN_ERR_INVALID_DIFF_OPTION 427SVN_ERR_PROPERTY_NOT_FOUND = _core.SVN_ERR_PROPERTY_NOT_FOUND 428SVN_ERR_NO_AUTH_FILE_PATH = _core.SVN_ERR_NO_AUTH_FILE_PATH 429SVN_ERR_VERSION_MISMATCH = _core.SVN_ERR_VERSION_MISMATCH 430SVN_ERR_MERGEINFO_PARSE_ERROR = _core.SVN_ERR_MERGEINFO_PARSE_ERROR 431SVN_ERR_CEASE_INVOCATION = _core.SVN_ERR_CEASE_INVOCATION 432SVN_ERR_REVNUM_PARSE_FAILURE = _core.SVN_ERR_REVNUM_PARSE_FAILURE 433SVN_ERR_ITER_BREAK = _core.SVN_ERR_ITER_BREAK 434SVN_ERR_UNKNOWN_CHANGELIST = _core.SVN_ERR_UNKNOWN_CHANGELIST 435SVN_ERR_RESERVED_FILENAME_SPECIFIED = _core.SVN_ERR_RESERVED_FILENAME_SPECIFIED 436SVN_ERR_UNKNOWN_CAPABILITY = _core.SVN_ERR_UNKNOWN_CAPABILITY 437SVN_ERR_TEST_SKIPPED = _core.SVN_ERR_TEST_SKIPPED 438SVN_ERR_NO_APR_MEMCACHE = _core.SVN_ERR_NO_APR_MEMCACHE 439SVN_ERR_ATOMIC_INIT_FAILURE = _core.SVN_ERR_ATOMIC_INIT_FAILURE 440SVN_ERR_SQLITE_ERROR = _core.SVN_ERR_SQLITE_ERROR 441SVN_ERR_SQLITE_READONLY = _core.SVN_ERR_SQLITE_READONLY 442SVN_ERR_SQLITE_UNSUPPORTED_SCHEMA = _core.SVN_ERR_SQLITE_UNSUPPORTED_SCHEMA 443SVN_ERR_SQLITE_BUSY = _core.SVN_ERR_SQLITE_BUSY 444SVN_ERR_SQLITE_RESETTING_FOR_ROLLBACK = _core.SVN_ERR_SQLITE_RESETTING_FOR_ROLLBACK 445SVN_ERR_SQLITE_CONSTRAINT = _core.SVN_ERR_SQLITE_CONSTRAINT 446SVN_ERR_TOO_MANY_MEMCACHED_SERVERS = _core.SVN_ERR_TOO_MANY_MEMCACHED_SERVERS 447SVN_ERR_MALFORMED_VERSION_STRING = _core.SVN_ERR_MALFORMED_VERSION_STRING 448SVN_ERR_CORRUPTED_ATOMIC_STORAGE = _core.SVN_ERR_CORRUPTED_ATOMIC_STORAGE 449SVN_ERR_UTF8PROC_ERROR = _core.SVN_ERR_UTF8PROC_ERROR 450SVN_ERR_UTF8_GLOB = _core.SVN_ERR_UTF8_GLOB 451SVN_ERR_CORRUPT_PACKED_DATA = _core.SVN_ERR_CORRUPT_PACKED_DATA 452SVN_ERR_COMPOSED_ERROR = _core.SVN_ERR_COMPOSED_ERROR 453SVN_ERR_INVALID_INPUT = _core.SVN_ERR_INVALID_INPUT 454SVN_ERR_SQLITE_ROLLBACK_FAILED = _core.SVN_ERR_SQLITE_ROLLBACK_FAILED 455SVN_ERR_LZ4_COMPRESSION_FAILED = _core.SVN_ERR_LZ4_COMPRESSION_FAILED 456SVN_ERR_LZ4_DECOMPRESSION_FAILED = _core.SVN_ERR_LZ4_DECOMPRESSION_FAILED 457SVN_ERR_CANONICALIZATION_FAILED = _core.SVN_ERR_CANONICALIZATION_FAILED 458SVN_ERR_CL_ARG_PARSING_ERROR = _core.SVN_ERR_CL_ARG_PARSING_ERROR 459SVN_ERR_CL_INSUFFICIENT_ARGS = _core.SVN_ERR_CL_INSUFFICIENT_ARGS 460SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS = _core.SVN_ERR_CL_MUTUALLY_EXCLUSIVE_ARGS 461SVN_ERR_CL_ADM_DIR_RESERVED = _core.SVN_ERR_CL_ADM_DIR_RESERVED 462SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE = _core.SVN_ERR_CL_LOG_MESSAGE_IS_VERSIONED_FILE 463SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME = _core.SVN_ERR_CL_LOG_MESSAGE_IS_PATHNAME 464SVN_ERR_CL_COMMIT_IN_ADDED_DIR = _core.SVN_ERR_CL_COMMIT_IN_ADDED_DIR 465SVN_ERR_CL_NO_EXTERNAL_EDITOR = _core.SVN_ERR_CL_NO_EXTERNAL_EDITOR 466SVN_ERR_CL_BAD_LOG_MESSAGE = _core.SVN_ERR_CL_BAD_LOG_MESSAGE 467SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE = _core.SVN_ERR_CL_UNNECESSARY_LOG_MESSAGE 468SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL = _core.SVN_ERR_CL_NO_EXTERNAL_MERGE_TOOL 469SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS = _core.SVN_ERR_CL_ERROR_PROCESSING_EXTERNALS 470SVN_ERR_CL_REPOS_VERIFY_FAILED = _core.SVN_ERR_CL_REPOS_VERIFY_FAILED 471SVN_ERR_RA_SVN_CMD_ERR = _core.SVN_ERR_RA_SVN_CMD_ERR 472SVN_ERR_RA_SVN_UNKNOWN_CMD = _core.SVN_ERR_RA_SVN_UNKNOWN_CMD 473SVN_ERR_RA_SVN_CONNECTION_CLOSED = _core.SVN_ERR_RA_SVN_CONNECTION_CLOSED 474SVN_ERR_RA_SVN_IO_ERROR = _core.SVN_ERR_RA_SVN_IO_ERROR 475SVN_ERR_RA_SVN_MALFORMED_DATA = _core.SVN_ERR_RA_SVN_MALFORMED_DATA 476SVN_ERR_RA_SVN_REPOS_NOT_FOUND = _core.SVN_ERR_RA_SVN_REPOS_NOT_FOUND 477SVN_ERR_RA_SVN_BAD_VERSION = _core.SVN_ERR_RA_SVN_BAD_VERSION 478SVN_ERR_RA_SVN_NO_MECHANISMS = _core.SVN_ERR_RA_SVN_NO_MECHANISMS 479SVN_ERR_RA_SVN_EDIT_ABORTED = _core.SVN_ERR_RA_SVN_EDIT_ABORTED 480SVN_ERR_RA_SVN_REQUEST_SIZE = _core.SVN_ERR_RA_SVN_REQUEST_SIZE 481SVN_ERR_RA_SVN_RESPONSE_SIZE = _core.SVN_ERR_RA_SVN_RESPONSE_SIZE 482SVN_ERR_AUTHN_CREDS_UNAVAILABLE = _core.SVN_ERR_AUTHN_CREDS_UNAVAILABLE 483SVN_ERR_AUTHN_NO_PROVIDER = _core.SVN_ERR_AUTHN_NO_PROVIDER 484SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED = _core.SVN_ERR_AUTHN_PROVIDERS_EXHAUSTED 485SVN_ERR_AUTHN_CREDS_NOT_SAVED = _core.SVN_ERR_AUTHN_CREDS_NOT_SAVED 486SVN_ERR_AUTHN_FAILED = _core.SVN_ERR_AUTHN_FAILED 487SVN_ERR_AUTHZ_ROOT_UNREADABLE = _core.SVN_ERR_AUTHZ_ROOT_UNREADABLE 488SVN_ERR_AUTHZ_UNREADABLE = _core.SVN_ERR_AUTHZ_UNREADABLE 489SVN_ERR_AUTHZ_PARTIALLY_READABLE = _core.SVN_ERR_AUTHZ_PARTIALLY_READABLE 490SVN_ERR_AUTHZ_INVALID_CONFIG = _core.SVN_ERR_AUTHZ_INVALID_CONFIG 491SVN_ERR_AUTHZ_UNWRITABLE = _core.SVN_ERR_AUTHZ_UNWRITABLE 492SVN_ERR_DIFF_DATASOURCE_MODIFIED = _core.SVN_ERR_DIFF_DATASOURCE_MODIFIED 493SVN_ERR_DIFF_UNEXPECTED_DATA = _core.SVN_ERR_DIFF_UNEXPECTED_DATA 494SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED = _core.SVN_ERR_RA_SERF_SSPI_INITIALISATION_FAILED 495SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED = _core.SVN_ERR_RA_SERF_SSL_CERT_UNTRUSTED 496SVN_ERR_RA_SERF_GSSAPI_INITIALISATION_FAILED = _core.SVN_ERR_RA_SERF_GSSAPI_INITIALISATION_FAILED 497SVN_ERR_RA_SERF_WRAPPED_ERROR = _core.SVN_ERR_RA_SERF_WRAPPED_ERROR 498SVN_ERR_RA_SERF_STREAM_BUCKET_READ_ERROR = _core.SVN_ERR_RA_SERF_STREAM_BUCKET_READ_ERROR 499SVN_ERR_ASSERTION_FAIL = _core.SVN_ERR_ASSERTION_FAIL 500SVN_ERR_ASSERTION_ONLY_TRACING_LINKS = _core.SVN_ERR_ASSERTION_ONLY_TRACING_LINKS 501SVN_ERR_ASN1_OUT_OF_DATA = _core.SVN_ERR_ASN1_OUT_OF_DATA 502SVN_ERR_ASN1_UNEXPECTED_TAG = _core.SVN_ERR_ASN1_UNEXPECTED_TAG 503SVN_ERR_ASN1_INVALID_LENGTH = _core.SVN_ERR_ASN1_INVALID_LENGTH 504SVN_ERR_ASN1_LENGTH_MISMATCH = _core.SVN_ERR_ASN1_LENGTH_MISMATCH 505SVN_ERR_ASN1_INVALID_DATA = _core.SVN_ERR_ASN1_INVALID_DATA 506SVN_ERR_X509_FEATURE_UNAVAILABLE = _core.SVN_ERR_X509_FEATURE_UNAVAILABLE 507SVN_ERR_X509_CERT_INVALID_PEM = _core.SVN_ERR_X509_CERT_INVALID_PEM 508SVN_ERR_X509_CERT_INVALID_FORMAT = _core.SVN_ERR_X509_CERT_INVALID_FORMAT 509SVN_ERR_X509_CERT_INVALID_VERSION = _core.SVN_ERR_X509_CERT_INVALID_VERSION 510SVN_ERR_X509_CERT_INVALID_SERIAL = _core.SVN_ERR_X509_CERT_INVALID_SERIAL 511SVN_ERR_X509_CERT_INVALID_ALG = _core.SVN_ERR_X509_CERT_INVALID_ALG 512SVN_ERR_X509_CERT_INVALID_NAME = _core.SVN_ERR_X509_CERT_INVALID_NAME 513SVN_ERR_X509_CERT_INVALID_DATE = _core.SVN_ERR_X509_CERT_INVALID_DATE 514SVN_ERR_X509_CERT_INVALID_PUBKEY = _core.SVN_ERR_X509_CERT_INVALID_PUBKEY 515SVN_ERR_X509_CERT_INVALID_SIGNATURE = _core.SVN_ERR_X509_CERT_INVALID_SIGNATURE 516SVN_ERR_X509_CERT_INVALID_EXTENSIONS = _core.SVN_ERR_X509_CERT_INVALID_EXTENSIONS 517SVN_ERR_X509_CERT_UNKNOWN_VERSION = _core.SVN_ERR_X509_CERT_UNKNOWN_VERSION 518SVN_ERR_X509_CERT_UNKNOWN_PK_ALG = _core.SVN_ERR_X509_CERT_UNKNOWN_PK_ALG 519SVN_ERR_X509_CERT_SIG_MISMATCH = _core.SVN_ERR_X509_CERT_SIG_MISMATCH 520SVN_ERR_X509_CERT_VERIFY_FAILED = _core.SVN_ERR_X509_CERT_VERIFY_FAILED 521SVN_ERR_LAST = _core.SVN_ERR_LAST 522 523def svn_time_to_cstring(*args) -> "char const *": 524 """svn_time_to_cstring(apr_time_t when, apr_pool_t pool) -> char const *""" 525 return _core.svn_time_to_cstring(*args) 526 527def svn_time_from_cstring(*args) -> "apr_int64_t *": 528 """svn_time_from_cstring(char const * data, apr_pool_t pool) -> svn_error_t""" 529 return _core.svn_time_from_cstring(*args) 530 531def svn_time_to_human_cstring(*args) -> "char const *": 532 """svn_time_to_human_cstring(apr_time_t when, apr_pool_t pool) -> char const *""" 533 return _core.svn_time_to_human_cstring(*args) 534 535def svn_parse_date(*args) -> "svn_boolean_t *, apr_int64_t *": 536 """svn_parse_date(char const * text, apr_time_t now, apr_pool_t pool) -> svn_error_t""" 537 return _core.svn_parse_date(*args) 538 539def svn_sleep_for_timestamps() -> "void": 540 """svn_sleep_for_timestamps()""" 541 return _core.svn_sleep_for_timestamps() 542svn_node_none = _core.svn_node_none 543svn_node_file = _core.svn_node_file 544svn_node_dir = _core.svn_node_dir 545svn_node_unknown = _core.svn_node_unknown 546svn_node_symlink = _core.svn_node_symlink 547svn_tristate_false = _core.svn_tristate_false 548svn_tristate_true = _core.svn_tristate_true 549svn_tristate_unknown = _core.svn_tristate_unknown 550svn_depth_unknown = _core.svn_depth_unknown 551svn_depth_exclude = _core.svn_depth_exclude 552svn_depth_empty = _core.svn_depth_empty 553svn_depth_files = _core.svn_depth_files 554svn_depth_immediates = _core.svn_depth_immediates 555svn_depth_infinity = _core.svn_depth_infinity 556SVN_UNALIGNED_ACCESS_IS_OK = _core.SVN_UNALIGNED_ACCESS_IS_OK 557TRUE = _core.TRUE 558FALSE = _core.FALSE 559class svn_error_t(object): 560 """Proxy of C svn_error_t struct.""" 561 562 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 563 __repr__ = _swig_repr 564 apr_err = _swig_property(_core.svn_error_t_apr_err_get, _core.svn_error_t_apr_err_set) 565 message = _swig_property(_core.svn_error_t_message_get) 566 child = _swig_property(_core.svn_error_t_child_get, _core.svn_error_t_child_set) 567 pool = _swig_property(_core.svn_error_t_pool_get, _core.svn_error_t_pool_set) 568 file = _swig_property(_core.svn_error_t_file_get) 569 line = _swig_property(_core.svn_error_t_line_get, _core.svn_error_t_line_set) 570 def set_parent_pool(self, parent_pool=None): 571 """Create a new proxy object for TYPE""" 572 import libsvn.core, weakref 573 self.__dict__["_parent_pool"] = \ 574 parent_pool or libsvn.core.application_pool; 575 if self.__dict__["_parent_pool"]: 576 self.__dict__["_is_valid"] = weakref.ref( 577 self.__dict__["_parent_pool"]._is_valid) 578 579 def assert_valid(self): 580 """Assert that this object is using valid pool memory""" 581 if "_is_valid" in self.__dict__: 582 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 583 584 def _retrieve_swig_value(self, name, value): 585 # If we got back a different object than we have cached, we need to copy 586 # all our metadata into it, so that it looks identical to the one 587 # originally set. 588 members = self.__dict__.get('_members') 589 if members is not None and name in members: 590 _copy_metadata_deep(value, members[name]) 591 592 # Verify that the new object is good 593 _assert_valid_deep(value) 594 595 return value 596 597 # Attribute access must be intercepted to ensure that objects coming from 598 # read attribute access match those that are set with write attribute access. 599 # Specifically the metadata, such as the associated apr_pool object, should 600 # match the originally assigned object. 601 # 602 # For classic classes it is enough to use __getattr__ to intercept swig 603 # derived attributes. However, with new style classes SWIG makes use of 604 # descriptors which mean that __getattr__ is never called. Therefore, 605 # __getattribute__ must be used for the interception. 606 607 if _newclass: 608 def __getattribute__(self, name): 609 """Manage access to all attributes of this object.""" 610 611 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 612 # items directly present in __dict__ 613 mydict = object.__getattribute__(self, '__dict__') 614 615 if name == "__dict__": 616 return mydict 617 618 if name in mydict: 619 return mydict[name] 620 621 object.__getattribute__(self, 'assert_valid')() 622 623 value = _get_instance_attr(self, name) 624 fn = object.__getattribute__(self, '_retrieve_swig_value') 625 return fn(name, value) 626 else: 627 def __getattr__(self, name): 628 """Get an attribute from this object""" 629 self.assert_valid() 630 631 value = _swig_getattr(self, self.__class__, name) 632 633 return self._retrieve_swig_value(name, value) 634 635 def __setattr__(self, name, value): 636 """Set an attribute on this object""" 637 self.assert_valid() 638 639 # Save a copy of the object, so that the garbage 640 # collector won't kill the object while it's in 641 # SWIG-land 642 self.__dict__.setdefault("_members",{})[name] = value 643 644 return _set_instance_attr(self, name, value) 645 646 647 def __init__(self): 648 """__init__(svn_error_t self) -> svn_error_t""" 649 this = _core.new_svn_error_t() 650 try: 651 self.this.append(this) 652 except __builtin__.Exception: 653 self.this = this 654 __swig_destroy__ = _core.delete_svn_error_t 655 __del__ = lambda self: None 656svn_error_t_swigregister = _core.svn_error_t_swigregister 657svn_error_t_swigregister(svn_error_t) 658 659 660def svn_node_kind_to_word(kind: 'svn_node_kind_t') -> "char const *": 661 """svn_node_kind_to_word(svn_node_kind_t kind) -> char const *""" 662 return _core.svn_node_kind_to_word(kind) 663 664def svn_node_kind_from_word(word: 'char const *') -> "svn_node_kind_t": 665 """svn_node_kind_from_word(char const * word) -> svn_node_kind_t""" 666 return _core.svn_node_kind_from_word(word) 667 668def svn_tristate__to_word(tristate: 'svn_tristate_t') -> "char const *": 669 """svn_tristate__to_word(svn_tristate_t tristate) -> char const *""" 670 return _core.svn_tristate__to_word(tristate) 671 672def svn_tristate__from_word(word: 'char const *') -> "svn_tristate_t": 673 """svn_tristate__from_word(char const * word) -> svn_tristate_t""" 674 return _core.svn_tristate__from_word(word) 675 676def svn_revnum_parse(str: 'char const *') -> "svn_revnum_t *, char const **": 677 """svn_revnum_parse(char const * str) -> svn_error_t""" 678 return _core.svn_revnum_parse(str) 679SVN_REVNUM_T_FMT = _core.SVN_REVNUM_T_FMT 680svn_nonrecursive = _core.svn_nonrecursive 681svn_recursive = _core.svn_recursive 682 683def svn_depth_to_word(depth: 'svn_depth_t') -> "char const *": 684 """svn_depth_to_word(svn_depth_t depth) -> char const *""" 685 return _core.svn_depth_to_word(depth) 686 687def svn_depth_from_word(word: 'char const *') -> "svn_depth_t": 688 """svn_depth_from_word(char const * word) -> svn_depth_t""" 689 return _core.svn_depth_from_word(word) 690SVN_DIRENT_KIND = _core.SVN_DIRENT_KIND 691SVN_DIRENT_SIZE = _core.SVN_DIRENT_SIZE 692SVN_DIRENT_HAS_PROPS = _core.SVN_DIRENT_HAS_PROPS 693SVN_DIRENT_CREATED_REV = _core.SVN_DIRENT_CREATED_REV 694SVN_DIRENT_TIME = _core.SVN_DIRENT_TIME 695SVN_DIRENT_LAST_AUTHOR = _core.SVN_DIRENT_LAST_AUTHOR 696class svn_dirent_t(object): 697 """Proxy of C svn_dirent_t struct.""" 698 699 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 700 __repr__ = _swig_repr 701 kind = _swig_property(_core.svn_dirent_t_kind_get, _core.svn_dirent_t_kind_set) 702 size = _swig_property(_core.svn_dirent_t_size_get, _core.svn_dirent_t_size_set) 703 has_props = _swig_property(_core.svn_dirent_t_has_props_get, _core.svn_dirent_t_has_props_set) 704 created_rev = _swig_property(_core.svn_dirent_t_created_rev_get, _core.svn_dirent_t_created_rev_set) 705 time = _swig_property(_core.svn_dirent_t_time_get, _core.svn_dirent_t_time_set) 706 last_author = _swig_property(_core.svn_dirent_t_last_author_get) 707 def set_parent_pool(self, parent_pool=None): 708 """Create a new proxy object for TYPE""" 709 import libsvn.core, weakref 710 self.__dict__["_parent_pool"] = \ 711 parent_pool or libsvn.core.application_pool; 712 if self.__dict__["_parent_pool"]: 713 self.__dict__["_is_valid"] = weakref.ref( 714 self.__dict__["_parent_pool"]._is_valid) 715 716 def assert_valid(self): 717 """Assert that this object is using valid pool memory""" 718 if "_is_valid" in self.__dict__: 719 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 720 721 def _retrieve_swig_value(self, name, value): 722 # If we got back a different object than we have cached, we need to copy 723 # all our metadata into it, so that it looks identical to the one 724 # originally set. 725 members = self.__dict__.get('_members') 726 if members is not None and name in members: 727 _copy_metadata_deep(value, members[name]) 728 729 # Verify that the new object is good 730 _assert_valid_deep(value) 731 732 return value 733 734 # Attribute access must be intercepted to ensure that objects coming from 735 # read attribute access match those that are set with write attribute access. 736 # Specifically the metadata, such as the associated apr_pool object, should 737 # match the originally assigned object. 738 # 739 # For classic classes it is enough to use __getattr__ to intercept swig 740 # derived attributes. However, with new style classes SWIG makes use of 741 # descriptors which mean that __getattr__ is never called. Therefore, 742 # __getattribute__ must be used for the interception. 743 744 if _newclass: 745 def __getattribute__(self, name): 746 """Manage access to all attributes of this object.""" 747 748 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 749 # items directly present in __dict__ 750 mydict = object.__getattribute__(self, '__dict__') 751 752 if name == "__dict__": 753 return mydict 754 755 if name in mydict: 756 return mydict[name] 757 758 object.__getattribute__(self, 'assert_valid')() 759 760 value = _get_instance_attr(self, name) 761 fn = object.__getattribute__(self, '_retrieve_swig_value') 762 return fn(name, value) 763 else: 764 def __getattr__(self, name): 765 """Get an attribute from this object""" 766 self.assert_valid() 767 768 value = _swig_getattr(self, self.__class__, name) 769 770 return self._retrieve_swig_value(name, value) 771 772 def __setattr__(self, name, value): 773 """Set an attribute on this object""" 774 self.assert_valid() 775 776 # Save a copy of the object, so that the garbage 777 # collector won't kill the object while it's in 778 # SWIG-land 779 self.__dict__.setdefault("_members",{})[name] = value 780 781 return _set_instance_attr(self, name, value) 782 783 784 def __init__(self): 785 """__init__(svn_dirent_t self) -> svn_dirent_t""" 786 this = _core.new_svn_dirent_t() 787 try: 788 self.this.append(this) 789 except __builtin__.Exception: 790 self.this = this 791 __swig_destroy__ = _core.delete_svn_dirent_t 792 __del__ = lambda self: None 793svn_dirent_t_swigregister = _core.svn_dirent_t_swigregister 794svn_dirent_t_swigregister(svn_dirent_t) 795 796 797def svn_dirent_dup(*args) -> "svn_dirent_t *": 798 """svn_dirent_dup(svn_dirent_t dirent, apr_pool_t pool) -> svn_dirent_t""" 799 return _core.svn_dirent_dup(*args) 800 801def svn_dirent_create(*args) -> "svn_dirent_t *": 802 """svn_dirent_create(apr_pool_t result_pool) -> svn_dirent_t""" 803 return _core.svn_dirent_create(*args) 804SVN_KEYWORD_MAX_LEN = _core.SVN_KEYWORD_MAX_LEN 805SVN_KEYWORD_REVISION_LONG = _core.SVN_KEYWORD_REVISION_LONG 806SVN_KEYWORD_REVISION_SHORT = _core.SVN_KEYWORD_REVISION_SHORT 807SVN_KEYWORD_REVISION_MEDIUM = _core.SVN_KEYWORD_REVISION_MEDIUM 808SVN_KEYWORD_DATE_LONG = _core.SVN_KEYWORD_DATE_LONG 809SVN_KEYWORD_DATE_SHORT = _core.SVN_KEYWORD_DATE_SHORT 810SVN_KEYWORD_AUTHOR_LONG = _core.SVN_KEYWORD_AUTHOR_LONG 811SVN_KEYWORD_AUTHOR_SHORT = _core.SVN_KEYWORD_AUTHOR_SHORT 812SVN_KEYWORD_URL_LONG = _core.SVN_KEYWORD_URL_LONG 813SVN_KEYWORD_URL_SHORT = _core.SVN_KEYWORD_URL_SHORT 814SVN_KEYWORD_ID = _core.SVN_KEYWORD_ID 815SVN_KEYWORD_HEADER = _core.SVN_KEYWORD_HEADER 816class svn_commit_info_t(object): 817 """Proxy of C svn_commit_info_t struct.""" 818 819 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 820 __repr__ = _swig_repr 821 revision = _swig_property(_core.svn_commit_info_t_revision_get, _core.svn_commit_info_t_revision_set) 822 date = _swig_property(_core.svn_commit_info_t_date_get, _core.svn_commit_info_t_date_set) 823 author = _swig_property(_core.svn_commit_info_t_author_get, _core.svn_commit_info_t_author_set) 824 post_commit_err = _swig_property(_core.svn_commit_info_t_post_commit_err_get, _core.svn_commit_info_t_post_commit_err_set) 825 repos_root = _swig_property(_core.svn_commit_info_t_repos_root_get, _core.svn_commit_info_t_repos_root_set) 826 def set_parent_pool(self, parent_pool=None): 827 """Create a new proxy object for TYPE""" 828 import libsvn.core, weakref 829 self.__dict__["_parent_pool"] = \ 830 parent_pool or libsvn.core.application_pool; 831 if self.__dict__["_parent_pool"]: 832 self.__dict__["_is_valid"] = weakref.ref( 833 self.__dict__["_parent_pool"]._is_valid) 834 835 def assert_valid(self): 836 """Assert that this object is using valid pool memory""" 837 if "_is_valid" in self.__dict__: 838 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 839 840 def _retrieve_swig_value(self, name, value): 841 # If we got back a different object than we have cached, we need to copy 842 # all our metadata into it, so that it looks identical to the one 843 # originally set. 844 members = self.__dict__.get('_members') 845 if members is not None and name in members: 846 _copy_metadata_deep(value, members[name]) 847 848 # Verify that the new object is good 849 _assert_valid_deep(value) 850 851 return value 852 853 # Attribute access must be intercepted to ensure that objects coming from 854 # read attribute access match those that are set with write attribute access. 855 # Specifically the metadata, such as the associated apr_pool object, should 856 # match the originally assigned object. 857 # 858 # For classic classes it is enough to use __getattr__ to intercept swig 859 # derived attributes. However, with new style classes SWIG makes use of 860 # descriptors which mean that __getattr__ is never called. Therefore, 861 # __getattribute__ must be used for the interception. 862 863 if _newclass: 864 def __getattribute__(self, name): 865 """Manage access to all attributes of this object.""" 866 867 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 868 # items directly present in __dict__ 869 mydict = object.__getattribute__(self, '__dict__') 870 871 if name == "__dict__": 872 return mydict 873 874 if name in mydict: 875 return mydict[name] 876 877 object.__getattribute__(self, 'assert_valid')() 878 879 value = _get_instance_attr(self, name) 880 fn = object.__getattribute__(self, '_retrieve_swig_value') 881 return fn(name, value) 882 else: 883 def __getattr__(self, name): 884 """Get an attribute from this object""" 885 self.assert_valid() 886 887 value = _swig_getattr(self, self.__class__, name) 888 889 return self._retrieve_swig_value(name, value) 890 891 def __setattr__(self, name, value): 892 """Set an attribute on this object""" 893 self.assert_valid() 894 895 # Save a copy of the object, so that the garbage 896 # collector won't kill the object while it's in 897 # SWIG-land 898 self.__dict__.setdefault("_members",{})[name] = value 899 900 return _set_instance_attr(self, name, value) 901 902 903 def __init__(self): 904 """__init__(svn_commit_info_t self) -> svn_commit_info_t""" 905 this = _core.new_svn_commit_info_t() 906 try: 907 self.this.append(this) 908 except __builtin__.Exception: 909 self.this = this 910 __swig_destroy__ = _core.delete_svn_commit_info_t 911 __del__ = lambda self: None 912svn_commit_info_t_swigregister = _core.svn_commit_info_t_swigregister 913svn_commit_info_t_swigregister(svn_commit_info_t) 914 915 916def svn_create_commit_info(*args) -> "svn_commit_info_t *": 917 """svn_create_commit_info(apr_pool_t pool) -> svn_commit_info_t""" 918 return _core.svn_create_commit_info(*args) 919 920def svn_commit_info_dup(*args) -> "svn_commit_info_t *": 921 """svn_commit_info_dup(svn_commit_info_t src_commit_info, apr_pool_t pool) -> svn_commit_info_t""" 922 return _core.svn_commit_info_dup(*args) 923class svn_log_changed_path2_t(object): 924 """Proxy of C svn_log_changed_path2_t struct.""" 925 926 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 927 __repr__ = _swig_repr 928 action = _swig_property(_core.svn_log_changed_path2_t_action_get, _core.svn_log_changed_path2_t_action_set) 929 copyfrom_path = _swig_property(_core.svn_log_changed_path2_t_copyfrom_path_get, _core.svn_log_changed_path2_t_copyfrom_path_set) 930 copyfrom_rev = _swig_property(_core.svn_log_changed_path2_t_copyfrom_rev_get, _core.svn_log_changed_path2_t_copyfrom_rev_set) 931 node_kind = _swig_property(_core.svn_log_changed_path2_t_node_kind_get, _core.svn_log_changed_path2_t_node_kind_set) 932 text_modified = _swig_property(_core.svn_log_changed_path2_t_text_modified_get, _core.svn_log_changed_path2_t_text_modified_set) 933 props_modified = _swig_property(_core.svn_log_changed_path2_t_props_modified_get, _core.svn_log_changed_path2_t_props_modified_set) 934 def set_parent_pool(self, parent_pool=None): 935 """Create a new proxy object for TYPE""" 936 import libsvn.core, weakref 937 self.__dict__["_parent_pool"] = \ 938 parent_pool or libsvn.core.application_pool; 939 if self.__dict__["_parent_pool"]: 940 self.__dict__["_is_valid"] = weakref.ref( 941 self.__dict__["_parent_pool"]._is_valid) 942 943 def assert_valid(self): 944 """Assert that this object is using valid pool memory""" 945 if "_is_valid" in self.__dict__: 946 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 947 948 def _retrieve_swig_value(self, name, value): 949 # If we got back a different object than we have cached, we need to copy 950 # all our metadata into it, so that it looks identical to the one 951 # originally set. 952 members = self.__dict__.get('_members') 953 if members is not None and name in members: 954 _copy_metadata_deep(value, members[name]) 955 956 # Verify that the new object is good 957 _assert_valid_deep(value) 958 959 return value 960 961 # Attribute access must be intercepted to ensure that objects coming from 962 # read attribute access match those that are set with write attribute access. 963 # Specifically the metadata, such as the associated apr_pool object, should 964 # match the originally assigned object. 965 # 966 # For classic classes it is enough to use __getattr__ to intercept swig 967 # derived attributes. However, with new style classes SWIG makes use of 968 # descriptors which mean that __getattr__ is never called. Therefore, 969 # __getattribute__ must be used for the interception. 970 971 if _newclass: 972 def __getattribute__(self, name): 973 """Manage access to all attributes of this object.""" 974 975 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 976 # items directly present in __dict__ 977 mydict = object.__getattribute__(self, '__dict__') 978 979 if name == "__dict__": 980 return mydict 981 982 if name in mydict: 983 return mydict[name] 984 985 object.__getattribute__(self, 'assert_valid')() 986 987 value = _get_instance_attr(self, name) 988 fn = object.__getattribute__(self, '_retrieve_swig_value') 989 return fn(name, value) 990 else: 991 def __getattr__(self, name): 992 """Get an attribute from this object""" 993 self.assert_valid() 994 995 value = _swig_getattr(self, self.__class__, name) 996 997 return self._retrieve_swig_value(name, value) 998 999 def __setattr__(self, name, value): 1000 """Set an attribute on this object""" 1001 self.assert_valid() 1002 1003 # Save a copy of the object, so that the garbage 1004 # collector won't kill the object while it's in 1005 # SWIG-land 1006 self.__dict__.setdefault("_members",{})[name] = value 1007 1008 return _set_instance_attr(self, name, value) 1009 1010 1011 def __init__(self): 1012 """__init__(svn_log_changed_path2_t self) -> svn_log_changed_path2_t""" 1013 this = _core.new_svn_log_changed_path2_t() 1014 try: 1015 self.this.append(this) 1016 except __builtin__.Exception: 1017 self.this = this 1018 __swig_destroy__ = _core.delete_svn_log_changed_path2_t 1019 __del__ = lambda self: None 1020svn_log_changed_path2_t_swigregister = _core.svn_log_changed_path2_t_swigregister 1021svn_log_changed_path2_t_swigregister(svn_log_changed_path2_t) 1022 1023 1024def svn_log_changed_path2_create(*args) -> "svn_log_changed_path2_t *": 1025 """svn_log_changed_path2_create(apr_pool_t pool) -> svn_log_changed_path2_t""" 1026 return _core.svn_log_changed_path2_create(*args) 1027 1028def svn_log_changed_path2_dup(*args) -> "svn_log_changed_path2_t *": 1029 """svn_log_changed_path2_dup(svn_log_changed_path2_t changed_path, apr_pool_t pool) -> svn_log_changed_path2_t""" 1030 return _core.svn_log_changed_path2_dup(*args) 1031class svn_log_changed_path_t(object): 1032 """Proxy of C svn_log_changed_path_t struct.""" 1033 1034 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1035 __repr__ = _swig_repr 1036 action = _swig_property(_core.svn_log_changed_path_t_action_get, _core.svn_log_changed_path_t_action_set) 1037 copyfrom_path = _swig_property(_core.svn_log_changed_path_t_copyfrom_path_get) 1038 copyfrom_rev = _swig_property(_core.svn_log_changed_path_t_copyfrom_rev_get, _core.svn_log_changed_path_t_copyfrom_rev_set) 1039 def set_parent_pool(self, parent_pool=None): 1040 """Create a new proxy object for TYPE""" 1041 import libsvn.core, weakref 1042 self.__dict__["_parent_pool"] = \ 1043 parent_pool or libsvn.core.application_pool; 1044 if self.__dict__["_parent_pool"]: 1045 self.__dict__["_is_valid"] = weakref.ref( 1046 self.__dict__["_parent_pool"]._is_valid) 1047 1048 def assert_valid(self): 1049 """Assert that this object is using valid pool memory""" 1050 if "_is_valid" in self.__dict__: 1051 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1052 1053 def _retrieve_swig_value(self, name, value): 1054 # If we got back a different object than we have cached, we need to copy 1055 # all our metadata into it, so that it looks identical to the one 1056 # originally set. 1057 members = self.__dict__.get('_members') 1058 if members is not None and name in members: 1059 _copy_metadata_deep(value, members[name]) 1060 1061 # Verify that the new object is good 1062 _assert_valid_deep(value) 1063 1064 return value 1065 1066 # Attribute access must be intercepted to ensure that objects coming from 1067 # read attribute access match those that are set with write attribute access. 1068 # Specifically the metadata, such as the associated apr_pool object, should 1069 # match the originally assigned object. 1070 # 1071 # For classic classes it is enough to use __getattr__ to intercept swig 1072 # derived attributes. However, with new style classes SWIG makes use of 1073 # descriptors which mean that __getattr__ is never called. Therefore, 1074 # __getattribute__ must be used for the interception. 1075 1076 if _newclass: 1077 def __getattribute__(self, name): 1078 """Manage access to all attributes of this object.""" 1079 1080 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1081 # items directly present in __dict__ 1082 mydict = object.__getattribute__(self, '__dict__') 1083 1084 if name == "__dict__": 1085 return mydict 1086 1087 if name in mydict: 1088 return mydict[name] 1089 1090 object.__getattribute__(self, 'assert_valid')() 1091 1092 value = _get_instance_attr(self, name) 1093 fn = object.__getattribute__(self, '_retrieve_swig_value') 1094 return fn(name, value) 1095 else: 1096 def __getattr__(self, name): 1097 """Get an attribute from this object""" 1098 self.assert_valid() 1099 1100 value = _swig_getattr(self, self.__class__, name) 1101 1102 return self._retrieve_swig_value(name, value) 1103 1104 def __setattr__(self, name, value): 1105 """Set an attribute on this object""" 1106 self.assert_valid() 1107 1108 # Save a copy of the object, so that the garbage 1109 # collector won't kill the object while it's in 1110 # SWIG-land 1111 self.__dict__.setdefault("_members",{})[name] = value 1112 1113 return _set_instance_attr(self, name, value) 1114 1115 1116 def __init__(self): 1117 """__init__(svn_log_changed_path_t self) -> svn_log_changed_path_t""" 1118 this = _core.new_svn_log_changed_path_t() 1119 try: 1120 self.this.append(this) 1121 except __builtin__.Exception: 1122 self.this = this 1123 __swig_destroy__ = _core.delete_svn_log_changed_path_t 1124 __del__ = lambda self: None 1125svn_log_changed_path_t_swigregister = _core.svn_log_changed_path_t_swigregister 1126svn_log_changed_path_t_swigregister(svn_log_changed_path_t) 1127 1128 1129def svn_log_changed_path_dup(*args) -> "svn_log_changed_path_t *": 1130 """svn_log_changed_path_dup(svn_log_changed_path_t changed_path, apr_pool_t pool) -> svn_log_changed_path_t""" 1131 return _core.svn_log_changed_path_dup(*args) 1132class svn_log_entry_t(object): 1133 """Proxy of C svn_log_entry_t struct.""" 1134 1135 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1136 __repr__ = _swig_repr 1137 changed_paths = _swig_property(_core.svn_log_entry_t_changed_paths_get, _core.svn_log_entry_t_changed_paths_set) 1138 revision = _swig_property(_core.svn_log_entry_t_revision_get, _core.svn_log_entry_t_revision_set) 1139 revprops = _swig_property(_core.svn_log_entry_t_revprops_get, _core.svn_log_entry_t_revprops_set) 1140 has_children = _swig_property(_core.svn_log_entry_t_has_children_get, _core.svn_log_entry_t_has_children_set) 1141 changed_paths2 = _swig_property(_core.svn_log_entry_t_changed_paths2_get, _core.svn_log_entry_t_changed_paths2_set) 1142 non_inheritable = _swig_property(_core.svn_log_entry_t_non_inheritable_get, _core.svn_log_entry_t_non_inheritable_set) 1143 subtractive_merge = _swig_property(_core.svn_log_entry_t_subtractive_merge_get, _core.svn_log_entry_t_subtractive_merge_set) 1144 def set_parent_pool(self, parent_pool=None): 1145 """Create a new proxy object for TYPE""" 1146 import libsvn.core, weakref 1147 self.__dict__["_parent_pool"] = \ 1148 parent_pool or libsvn.core.application_pool; 1149 if self.__dict__["_parent_pool"]: 1150 self.__dict__["_is_valid"] = weakref.ref( 1151 self.__dict__["_parent_pool"]._is_valid) 1152 1153 def assert_valid(self): 1154 """Assert that this object is using valid pool memory""" 1155 if "_is_valid" in self.__dict__: 1156 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1157 1158 def _retrieve_swig_value(self, name, value): 1159 # If we got back a different object than we have cached, we need to copy 1160 # all our metadata into it, so that it looks identical to the one 1161 # originally set. 1162 members = self.__dict__.get('_members') 1163 if members is not None and name in members: 1164 _copy_metadata_deep(value, members[name]) 1165 1166 # Verify that the new object is good 1167 _assert_valid_deep(value) 1168 1169 return value 1170 1171 # Attribute access must be intercepted to ensure that objects coming from 1172 # read attribute access match those that are set with write attribute access. 1173 # Specifically the metadata, such as the associated apr_pool object, should 1174 # match the originally assigned object. 1175 # 1176 # For classic classes it is enough to use __getattr__ to intercept swig 1177 # derived attributes. However, with new style classes SWIG makes use of 1178 # descriptors which mean that __getattr__ is never called. Therefore, 1179 # __getattribute__ must be used for the interception. 1180 1181 if _newclass: 1182 def __getattribute__(self, name): 1183 """Manage access to all attributes of this object.""" 1184 1185 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1186 # items directly present in __dict__ 1187 mydict = object.__getattribute__(self, '__dict__') 1188 1189 if name == "__dict__": 1190 return mydict 1191 1192 if name in mydict: 1193 return mydict[name] 1194 1195 object.__getattribute__(self, 'assert_valid')() 1196 1197 value = _get_instance_attr(self, name) 1198 fn = object.__getattribute__(self, '_retrieve_swig_value') 1199 return fn(name, value) 1200 else: 1201 def __getattr__(self, name): 1202 """Get an attribute from this object""" 1203 self.assert_valid() 1204 1205 value = _swig_getattr(self, self.__class__, name) 1206 1207 return self._retrieve_swig_value(name, value) 1208 1209 def __setattr__(self, name, value): 1210 """Set an attribute on this object""" 1211 self.assert_valid() 1212 1213 # Save a copy of the object, so that the garbage 1214 # collector won't kill the object while it's in 1215 # SWIG-land 1216 self.__dict__.setdefault("_members",{})[name] = value 1217 1218 return _set_instance_attr(self, name, value) 1219 1220 1221 def __init__(self): 1222 """__init__(svn_log_entry_t self) -> svn_log_entry_t""" 1223 this = _core.new_svn_log_entry_t() 1224 try: 1225 self.this.append(this) 1226 except __builtin__.Exception: 1227 self.this = this 1228 __swig_destroy__ = _core.delete_svn_log_entry_t 1229 __del__ = lambda self: None 1230svn_log_entry_t_swigregister = _core.svn_log_entry_t_swigregister 1231svn_log_entry_t_swigregister(svn_log_entry_t) 1232 1233 1234def svn_log_entry_create(*args) -> "svn_log_entry_t *": 1235 """svn_log_entry_create(apr_pool_t pool) -> svn_log_entry_t""" 1236 return _core.svn_log_entry_create(*args) 1237 1238def svn_log_entry_dup(*args) -> "svn_log_entry_t *": 1239 """svn_log_entry_dup(svn_log_entry_t log_entry, apr_pool_t pool) -> svn_log_entry_t""" 1240 return _core.svn_log_entry_dup(*args) 1241SVN_STREAM_CHUNK_SIZE = _core.SVN_STREAM_CHUNK_SIZE 1242SVN__STREAM_CHUNK_SIZE = _core.SVN__STREAM_CHUNK_SIZE 1243 1244def svn_mime_type_validate(*args) -> "svn_error_t *": 1245 """svn_mime_type_validate(char const * mime_type, apr_pool_t pool) -> svn_error_t""" 1246 return _core.svn_mime_type_validate(*args) 1247 1248def svn_mime_type_is_binary(mime_type: 'char const *') -> "svn_boolean_t": 1249 """svn_mime_type_is_binary(char const * mime_type) -> svn_boolean_t""" 1250 return _core.svn_mime_type_is_binary(mime_type) 1251class svn_lock_t(object): 1252 """Proxy of C svn_lock_t struct.""" 1253 1254 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1255 __repr__ = _swig_repr 1256 path = _swig_property(_core.svn_lock_t_path_get, _core.svn_lock_t_path_set) 1257 token = _swig_property(_core.svn_lock_t_token_get, _core.svn_lock_t_token_set) 1258 owner = _swig_property(_core.svn_lock_t_owner_get, _core.svn_lock_t_owner_set) 1259 comment = _swig_property(_core.svn_lock_t_comment_get, _core.svn_lock_t_comment_set) 1260 is_dav_comment = _swig_property(_core.svn_lock_t_is_dav_comment_get, _core.svn_lock_t_is_dav_comment_set) 1261 creation_date = _swig_property(_core.svn_lock_t_creation_date_get, _core.svn_lock_t_creation_date_set) 1262 expiration_date = _swig_property(_core.svn_lock_t_expiration_date_get, _core.svn_lock_t_expiration_date_set) 1263 def set_parent_pool(self, parent_pool=None): 1264 """Create a new proxy object for TYPE""" 1265 import libsvn.core, weakref 1266 self.__dict__["_parent_pool"] = \ 1267 parent_pool or libsvn.core.application_pool; 1268 if self.__dict__["_parent_pool"]: 1269 self.__dict__["_is_valid"] = weakref.ref( 1270 self.__dict__["_parent_pool"]._is_valid) 1271 1272 def assert_valid(self): 1273 """Assert that this object is using valid pool memory""" 1274 if "_is_valid" in self.__dict__: 1275 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1276 1277 def _retrieve_swig_value(self, name, value): 1278 # If we got back a different object than we have cached, we need to copy 1279 # all our metadata into it, so that it looks identical to the one 1280 # originally set. 1281 members = self.__dict__.get('_members') 1282 if members is not None and name in members: 1283 _copy_metadata_deep(value, members[name]) 1284 1285 # Verify that the new object is good 1286 _assert_valid_deep(value) 1287 1288 return value 1289 1290 # Attribute access must be intercepted to ensure that objects coming from 1291 # read attribute access match those that are set with write attribute access. 1292 # Specifically the metadata, such as the associated apr_pool object, should 1293 # match the originally assigned object. 1294 # 1295 # For classic classes it is enough to use __getattr__ to intercept swig 1296 # derived attributes. However, with new style classes SWIG makes use of 1297 # descriptors which mean that __getattr__ is never called. Therefore, 1298 # __getattribute__ must be used for the interception. 1299 1300 if _newclass: 1301 def __getattribute__(self, name): 1302 """Manage access to all attributes of this object.""" 1303 1304 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1305 # items directly present in __dict__ 1306 mydict = object.__getattribute__(self, '__dict__') 1307 1308 if name == "__dict__": 1309 return mydict 1310 1311 if name in mydict: 1312 return mydict[name] 1313 1314 object.__getattribute__(self, 'assert_valid')() 1315 1316 value = _get_instance_attr(self, name) 1317 fn = object.__getattribute__(self, '_retrieve_swig_value') 1318 return fn(name, value) 1319 else: 1320 def __getattr__(self, name): 1321 """Get an attribute from this object""" 1322 self.assert_valid() 1323 1324 value = _swig_getattr(self, self.__class__, name) 1325 1326 return self._retrieve_swig_value(name, value) 1327 1328 def __setattr__(self, name, value): 1329 """Set an attribute on this object""" 1330 self.assert_valid() 1331 1332 # Save a copy of the object, so that the garbage 1333 # collector won't kill the object while it's in 1334 # SWIG-land 1335 self.__dict__.setdefault("_members",{})[name] = value 1336 1337 return _set_instance_attr(self, name, value) 1338 1339 1340 def __init__(self): 1341 """__init__(svn_lock_t self) -> svn_lock_t""" 1342 this = _core.new_svn_lock_t() 1343 try: 1344 self.this.append(this) 1345 except __builtin__.Exception: 1346 self.this = this 1347 __swig_destroy__ = _core.delete_svn_lock_t 1348 __del__ = lambda self: None 1349svn_lock_t_swigregister = _core.svn_lock_t_swigregister 1350svn_lock_t_swigregister(svn_lock_t) 1351 1352 1353def svn_lock_create(*args) -> "svn_lock_t *": 1354 """svn_lock_create(apr_pool_t pool) -> svn_lock_t""" 1355 return _core.svn_lock_create(*args) 1356 1357def svn_lock_dup(*args) -> "svn_lock_t *": 1358 """svn_lock_dup(svn_lock_t lock, apr_pool_t pool) -> svn_lock_t""" 1359 return _core.svn_lock_dup(*args) 1360 1361def svn_uuid_generate(*args) -> "char const *": 1362 """svn_uuid_generate(apr_pool_t pool) -> char const *""" 1363 return _core.svn_uuid_generate(*args) 1364class svn_merge_range_t(object): 1365 """Proxy of C svn_merge_range_t struct.""" 1366 1367 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1368 __repr__ = _swig_repr 1369 start = _swig_property(_core.svn_merge_range_t_start_get, _core.svn_merge_range_t_start_set) 1370 end = _swig_property(_core.svn_merge_range_t_end_get, _core.svn_merge_range_t_end_set) 1371 inheritable = _swig_property(_core.svn_merge_range_t_inheritable_get, _core.svn_merge_range_t_inheritable_set) 1372 def set_parent_pool(self, parent_pool=None): 1373 """Create a new proxy object for TYPE""" 1374 import libsvn.core, weakref 1375 self.__dict__["_parent_pool"] = \ 1376 parent_pool or libsvn.core.application_pool; 1377 if self.__dict__["_parent_pool"]: 1378 self.__dict__["_is_valid"] = weakref.ref( 1379 self.__dict__["_parent_pool"]._is_valid) 1380 1381 def assert_valid(self): 1382 """Assert that this object is using valid pool memory""" 1383 if "_is_valid" in self.__dict__: 1384 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1385 1386 def _retrieve_swig_value(self, name, value): 1387 # If we got back a different object than we have cached, we need to copy 1388 # all our metadata into it, so that it looks identical to the one 1389 # originally set. 1390 members = self.__dict__.get('_members') 1391 if members is not None and name in members: 1392 _copy_metadata_deep(value, members[name]) 1393 1394 # Verify that the new object is good 1395 _assert_valid_deep(value) 1396 1397 return value 1398 1399 # Attribute access must be intercepted to ensure that objects coming from 1400 # read attribute access match those that are set with write attribute access. 1401 # Specifically the metadata, such as the associated apr_pool object, should 1402 # match the originally assigned object. 1403 # 1404 # For classic classes it is enough to use __getattr__ to intercept swig 1405 # derived attributes. However, with new style classes SWIG makes use of 1406 # descriptors which mean that __getattr__ is never called. Therefore, 1407 # __getattribute__ must be used for the interception. 1408 1409 if _newclass: 1410 def __getattribute__(self, name): 1411 """Manage access to all attributes of this object.""" 1412 1413 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1414 # items directly present in __dict__ 1415 mydict = object.__getattribute__(self, '__dict__') 1416 1417 if name == "__dict__": 1418 return mydict 1419 1420 if name in mydict: 1421 return mydict[name] 1422 1423 object.__getattribute__(self, 'assert_valid')() 1424 1425 value = _get_instance_attr(self, name) 1426 fn = object.__getattribute__(self, '_retrieve_swig_value') 1427 return fn(name, value) 1428 else: 1429 def __getattr__(self, name): 1430 """Get an attribute from this object""" 1431 self.assert_valid() 1432 1433 value = _swig_getattr(self, self.__class__, name) 1434 1435 return self._retrieve_swig_value(name, value) 1436 1437 def __setattr__(self, name, value): 1438 """Set an attribute on this object""" 1439 self.assert_valid() 1440 1441 # Save a copy of the object, so that the garbage 1442 # collector won't kill the object while it's in 1443 # SWIG-land 1444 self.__dict__.setdefault("_members",{})[name] = value 1445 1446 return _set_instance_attr(self, name, value) 1447 1448 1449 def __init__(self): 1450 """__init__(svn_merge_range_t self) -> svn_merge_range_t""" 1451 this = _core.new_svn_merge_range_t() 1452 try: 1453 self.this.append(this) 1454 except __builtin__.Exception: 1455 self.this = this 1456 __swig_destroy__ = _core.delete_svn_merge_range_t 1457 __del__ = lambda self: None 1458svn_merge_range_t_swigregister = _core.svn_merge_range_t_swigregister 1459svn_merge_range_t_swigregister(svn_merge_range_t) 1460 1461 1462def svn_merge_range_dup(*args) -> "svn_merge_range_t *": 1463 """svn_merge_range_dup(svn_merge_range_t range, apr_pool_t pool) -> svn_merge_range_t""" 1464 return _core.svn_merge_range_dup(*args) 1465 1466def svn_merge_range_contains_rev(range: 'svn_merge_range_t', rev: 'svn_revnum_t') -> "svn_boolean_t": 1467 """svn_merge_range_contains_rev(svn_merge_range_t range, svn_revnum_t rev) -> svn_boolean_t""" 1468 return _core.svn_merge_range_contains_rev(range, rev) 1469class svn_location_segment_t(object): 1470 """Proxy of C svn_location_segment_t struct.""" 1471 1472 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1473 __repr__ = _swig_repr 1474 range_start = _swig_property(_core.svn_location_segment_t_range_start_get, _core.svn_location_segment_t_range_start_set) 1475 range_end = _swig_property(_core.svn_location_segment_t_range_end_get, _core.svn_location_segment_t_range_end_set) 1476 path = _swig_property(_core.svn_location_segment_t_path_get, _core.svn_location_segment_t_path_set) 1477 def set_parent_pool(self, parent_pool=None): 1478 """Create a new proxy object for TYPE""" 1479 import libsvn.core, weakref 1480 self.__dict__["_parent_pool"] = \ 1481 parent_pool or libsvn.core.application_pool; 1482 if self.__dict__["_parent_pool"]: 1483 self.__dict__["_is_valid"] = weakref.ref( 1484 self.__dict__["_parent_pool"]._is_valid) 1485 1486 def assert_valid(self): 1487 """Assert that this object is using valid pool memory""" 1488 if "_is_valid" in self.__dict__: 1489 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1490 1491 def _retrieve_swig_value(self, name, value): 1492 # If we got back a different object than we have cached, we need to copy 1493 # all our metadata into it, so that it looks identical to the one 1494 # originally set. 1495 members = self.__dict__.get('_members') 1496 if members is not None and name in members: 1497 _copy_metadata_deep(value, members[name]) 1498 1499 # Verify that the new object is good 1500 _assert_valid_deep(value) 1501 1502 return value 1503 1504 # Attribute access must be intercepted to ensure that objects coming from 1505 # read attribute access match those that are set with write attribute access. 1506 # Specifically the metadata, such as the associated apr_pool object, should 1507 # match the originally assigned object. 1508 # 1509 # For classic classes it is enough to use __getattr__ to intercept swig 1510 # derived attributes. However, with new style classes SWIG makes use of 1511 # descriptors which mean that __getattr__ is never called. Therefore, 1512 # __getattribute__ must be used for the interception. 1513 1514 if _newclass: 1515 def __getattribute__(self, name): 1516 """Manage access to all attributes of this object.""" 1517 1518 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1519 # items directly present in __dict__ 1520 mydict = object.__getattribute__(self, '__dict__') 1521 1522 if name == "__dict__": 1523 return mydict 1524 1525 if name in mydict: 1526 return mydict[name] 1527 1528 object.__getattribute__(self, 'assert_valid')() 1529 1530 value = _get_instance_attr(self, name) 1531 fn = object.__getattribute__(self, '_retrieve_swig_value') 1532 return fn(name, value) 1533 else: 1534 def __getattr__(self, name): 1535 """Get an attribute from this object""" 1536 self.assert_valid() 1537 1538 value = _swig_getattr(self, self.__class__, name) 1539 1540 return self._retrieve_swig_value(name, value) 1541 1542 def __setattr__(self, name, value): 1543 """Set an attribute on this object""" 1544 self.assert_valid() 1545 1546 # Save a copy of the object, so that the garbage 1547 # collector won't kill the object while it's in 1548 # SWIG-land 1549 self.__dict__.setdefault("_members",{})[name] = value 1550 1551 return _set_instance_attr(self, name, value) 1552 1553 1554 def __init__(self): 1555 """__init__(svn_location_segment_t self) -> svn_location_segment_t""" 1556 this = _core.new_svn_location_segment_t() 1557 try: 1558 self.this.append(this) 1559 except __builtin__.Exception: 1560 self.this = this 1561 __swig_destroy__ = _core.delete_svn_location_segment_t 1562 __del__ = lambda self: None 1563svn_location_segment_t_swigregister = _core.svn_location_segment_t_swigregister 1564svn_location_segment_t_swigregister(svn_location_segment_t) 1565 1566 1567def svn_location_segment_dup(*args) -> "svn_location_segment_t *": 1568 """svn_location_segment_dup(svn_location_segment_t segment, apr_pool_t pool) -> svn_location_segment_t""" 1569 return _core.svn_location_segment_dup(*args) 1570class svn_version_t(object): 1571 """Proxy of C svn_version_t struct.""" 1572 1573 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1574 1575 def __init__(self, *args, **kwargs): 1576 raise AttributeError("No constructor defined") 1577 __repr__ = _swig_repr 1578 def set_parent_pool(self, parent_pool=None): 1579 """Create a new proxy object for TYPE""" 1580 import libsvn.core, weakref 1581 self.__dict__["_parent_pool"] = \ 1582 parent_pool or libsvn.core.application_pool; 1583 if self.__dict__["_parent_pool"]: 1584 self.__dict__["_is_valid"] = weakref.ref( 1585 self.__dict__["_parent_pool"]._is_valid) 1586 1587 def assert_valid(self): 1588 """Assert that this object is using valid pool memory""" 1589 if "_is_valid" in self.__dict__: 1590 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1591 1592 def _retrieve_swig_value(self, name, value): 1593 # If we got back a different object than we have cached, we need to copy 1594 # all our metadata into it, so that it looks identical to the one 1595 # originally set. 1596 members = self.__dict__.get('_members') 1597 if members is not None and name in members: 1598 _copy_metadata_deep(value, members[name]) 1599 1600 # Verify that the new object is good 1601 _assert_valid_deep(value) 1602 1603 return value 1604 1605 # Attribute access must be intercepted to ensure that objects coming from 1606 # read attribute access match those that are set with write attribute access. 1607 # Specifically the metadata, such as the associated apr_pool object, should 1608 # match the originally assigned object. 1609 # 1610 # For classic classes it is enough to use __getattr__ to intercept swig 1611 # derived attributes. However, with new style classes SWIG makes use of 1612 # descriptors which mean that __getattr__ is never called. Therefore, 1613 # __getattribute__ must be used for the interception. 1614 1615 if _newclass: 1616 def __getattribute__(self, name): 1617 """Manage access to all attributes of this object.""" 1618 1619 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1620 # items directly present in __dict__ 1621 mydict = object.__getattribute__(self, '__dict__') 1622 1623 if name == "__dict__": 1624 return mydict 1625 1626 if name in mydict: 1627 return mydict[name] 1628 1629 object.__getattribute__(self, 'assert_valid')() 1630 1631 value = _get_instance_attr(self, name) 1632 fn = object.__getattribute__(self, '_retrieve_swig_value') 1633 return fn(name, value) 1634 else: 1635 def __getattr__(self, name): 1636 """Get an attribute from this object""" 1637 self.assert_valid() 1638 1639 value = _swig_getattr(self, self.__class__, name) 1640 1641 return self._retrieve_swig_value(name, value) 1642 1643 def __setattr__(self, name, value): 1644 """Set an attribute on this object""" 1645 self.assert_valid() 1646 1647 # Save a copy of the object, so that the garbage 1648 # collector won't kill the object while it's in 1649 # SWIG-land 1650 self.__dict__.setdefault("_members",{})[name] = value 1651 1652 return _set_instance_attr(self, name, value) 1653 1654svn_version_t_swigregister = _core.svn_version_t_swigregister 1655svn_version_t_swigregister(svn_version_t) 1656 1657 1658def svn_log_invoke_entry_receiver(*args) -> "svn_error_t *": 1659 """svn_log_invoke_entry_receiver(svn_log_entry_receiver_t _obj, void * baton, svn_log_entry_t log_entry, apr_pool_t pool) -> svn_error_t""" 1660 return _core.svn_log_invoke_entry_receiver(*args) 1661 1662def svn_log_invoke_message_receiver(*args) -> "svn_error_t *": 1663 """svn_log_invoke_message_receiver(svn_log_message_receiver_t _obj, void * baton, apr_hash_t changed_paths, svn_revnum_t revision, char const * author, char const * date, char const * message, apr_pool_t pool) -> svn_error_t""" 1664 return _core.svn_log_invoke_message_receiver(*args) 1665 1666def svn_commit_invoke_callback2(*args) -> "svn_error_t *": 1667 """svn_commit_invoke_callback2(svn_commit_callback2_t _obj, svn_commit_info_t commit_info, void * baton, apr_pool_t pool) -> svn_error_t""" 1668 return _core.svn_commit_invoke_callback2(*args) 1669 1670def svn_commit_invoke_callback(_obj: 'svn_commit_callback_t', new_revision: 'svn_revnum_t', date: 'char const *', author: 'char const *', baton: 'void *') -> "svn_error_t *": 1671 """svn_commit_invoke_callback(svn_commit_callback_t _obj, svn_revnum_t new_revision, char const * date, char const * author, void * baton) -> svn_error_t""" 1672 return _core.svn_commit_invoke_callback(_obj, new_revision, date, author, baton) 1673 1674def svn_cancel_invoke_func(_obj: 'svn_cancel_func_t', cancel_baton: 'void *') -> "svn_error_t *": 1675 """svn_cancel_invoke_func(svn_cancel_func_t _obj, void * cancel_baton) -> svn_error_t""" 1676 return _core.svn_cancel_invoke_func(_obj, cancel_baton) 1677 1678def svn_location_invoke_segment_receiver(*args) -> "svn_error_t *": 1679 """svn_location_invoke_segment_receiver(svn_location_segment_receiver_t _obj, svn_location_segment_t segment, void * baton, apr_pool_t pool) -> svn_error_t""" 1680 return _core.svn_location_invoke_segment_receiver(*args) 1681class svn_log_entry_receiver_t(object): 1682 """Proxy of C svn_log_entry_receiver_t struct.""" 1683 1684 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1685 1686 def __init__(self, *args, **kwargs): 1687 raise AttributeError("No constructor defined") 1688 __repr__ = _swig_repr 1689 def set_parent_pool(self, parent_pool=None): 1690 """Create a new proxy object for TYPE""" 1691 import libsvn.core, weakref 1692 self.__dict__["_parent_pool"] = \ 1693 parent_pool or libsvn.core.application_pool; 1694 if self.__dict__["_parent_pool"]: 1695 self.__dict__["_is_valid"] = weakref.ref( 1696 self.__dict__["_parent_pool"]._is_valid) 1697 1698 def assert_valid(self): 1699 """Assert that this object is using valid pool memory""" 1700 if "_is_valid" in self.__dict__: 1701 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1702 1703 def _retrieve_swig_value(self, name, value): 1704 # If we got back a different object than we have cached, we need to copy 1705 # all our metadata into it, so that it looks identical to the one 1706 # originally set. 1707 members = self.__dict__.get('_members') 1708 if members is not None and name in members: 1709 _copy_metadata_deep(value, members[name]) 1710 1711 # Verify that the new object is good 1712 _assert_valid_deep(value) 1713 1714 return value 1715 1716 # Attribute access must be intercepted to ensure that objects coming from 1717 # read attribute access match those that are set with write attribute access. 1718 # Specifically the metadata, such as the associated apr_pool object, should 1719 # match the originally assigned object. 1720 # 1721 # For classic classes it is enough to use __getattr__ to intercept swig 1722 # derived attributes. However, with new style classes SWIG makes use of 1723 # descriptors which mean that __getattr__ is never called. Therefore, 1724 # __getattribute__ must be used for the interception. 1725 1726 if _newclass: 1727 def __getattribute__(self, name): 1728 """Manage access to all attributes of this object.""" 1729 1730 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1731 # items directly present in __dict__ 1732 mydict = object.__getattribute__(self, '__dict__') 1733 1734 if name == "__dict__": 1735 return mydict 1736 1737 if name in mydict: 1738 return mydict[name] 1739 1740 object.__getattribute__(self, 'assert_valid')() 1741 1742 value = _get_instance_attr(self, name) 1743 fn = object.__getattribute__(self, '_retrieve_swig_value') 1744 return fn(name, value) 1745 else: 1746 def __getattr__(self, name): 1747 """Get an attribute from this object""" 1748 self.assert_valid() 1749 1750 value = _swig_getattr(self, self.__class__, name) 1751 1752 return self._retrieve_swig_value(name, value) 1753 1754 def __setattr__(self, name, value): 1755 """Set an attribute on this object""" 1756 self.assert_valid() 1757 1758 # Save a copy of the object, so that the garbage 1759 # collector won't kill the object while it's in 1760 # SWIG-land 1761 self.__dict__.setdefault("_members",{})[name] = value 1762 1763 return _set_instance_attr(self, name, value) 1764 1765 1766 def __call__(self, *args): 1767 return svn_log_invoke_entry_receiver(self, *args) 1768 1769svn_log_entry_receiver_t_swigregister = _core.svn_log_entry_receiver_t_swigregister 1770svn_log_entry_receiver_t_swigregister(svn_log_entry_receiver_t) 1771 1772class svn_log_message_receiver_t(object): 1773 """Proxy of C svn_log_message_receiver_t struct.""" 1774 1775 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1776 1777 def __init__(self, *args, **kwargs): 1778 raise AttributeError("No constructor defined") 1779 __repr__ = _swig_repr 1780 def set_parent_pool(self, parent_pool=None): 1781 """Create a new proxy object for TYPE""" 1782 import libsvn.core, weakref 1783 self.__dict__["_parent_pool"] = \ 1784 parent_pool or libsvn.core.application_pool; 1785 if self.__dict__["_parent_pool"]: 1786 self.__dict__["_is_valid"] = weakref.ref( 1787 self.__dict__["_parent_pool"]._is_valid) 1788 1789 def assert_valid(self): 1790 """Assert that this object is using valid pool memory""" 1791 if "_is_valid" in self.__dict__: 1792 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1793 1794 def _retrieve_swig_value(self, name, value): 1795 # If we got back a different object than we have cached, we need to copy 1796 # all our metadata into it, so that it looks identical to the one 1797 # originally set. 1798 members = self.__dict__.get('_members') 1799 if members is not None and name in members: 1800 _copy_metadata_deep(value, members[name]) 1801 1802 # Verify that the new object is good 1803 _assert_valid_deep(value) 1804 1805 return value 1806 1807 # Attribute access must be intercepted to ensure that objects coming from 1808 # read attribute access match those that are set with write attribute access. 1809 # Specifically the metadata, such as the associated apr_pool object, should 1810 # match the originally assigned object. 1811 # 1812 # For classic classes it is enough to use __getattr__ to intercept swig 1813 # derived attributes. However, with new style classes SWIG makes use of 1814 # descriptors which mean that __getattr__ is never called. Therefore, 1815 # __getattribute__ must be used for the interception. 1816 1817 if _newclass: 1818 def __getattribute__(self, name): 1819 """Manage access to all attributes of this object.""" 1820 1821 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1822 # items directly present in __dict__ 1823 mydict = object.__getattribute__(self, '__dict__') 1824 1825 if name == "__dict__": 1826 return mydict 1827 1828 if name in mydict: 1829 return mydict[name] 1830 1831 object.__getattribute__(self, 'assert_valid')() 1832 1833 value = _get_instance_attr(self, name) 1834 fn = object.__getattribute__(self, '_retrieve_swig_value') 1835 return fn(name, value) 1836 else: 1837 def __getattr__(self, name): 1838 """Get an attribute from this object""" 1839 self.assert_valid() 1840 1841 value = _swig_getattr(self, self.__class__, name) 1842 1843 return self._retrieve_swig_value(name, value) 1844 1845 def __setattr__(self, name, value): 1846 """Set an attribute on this object""" 1847 self.assert_valid() 1848 1849 # Save a copy of the object, so that the garbage 1850 # collector won't kill the object while it's in 1851 # SWIG-land 1852 self.__dict__.setdefault("_members",{})[name] = value 1853 1854 return _set_instance_attr(self, name, value) 1855 1856 1857 def __call__(self, *args): 1858 return svn_log_invoke_message_receiver(self, *args) 1859 1860svn_log_message_receiver_t_swigregister = _core.svn_log_message_receiver_t_swigregister 1861svn_log_message_receiver_t_swigregister(svn_log_message_receiver_t) 1862 1863class svn_commit_callback2_t(object): 1864 """Proxy of C svn_commit_callback2_t struct.""" 1865 1866 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1867 1868 def __init__(self, *args, **kwargs): 1869 raise AttributeError("No constructor defined") 1870 __repr__ = _swig_repr 1871 def set_parent_pool(self, parent_pool=None): 1872 """Create a new proxy object for TYPE""" 1873 import libsvn.core, weakref 1874 self.__dict__["_parent_pool"] = \ 1875 parent_pool or libsvn.core.application_pool; 1876 if self.__dict__["_parent_pool"]: 1877 self.__dict__["_is_valid"] = weakref.ref( 1878 self.__dict__["_parent_pool"]._is_valid) 1879 1880 def assert_valid(self): 1881 """Assert that this object is using valid pool memory""" 1882 if "_is_valid" in self.__dict__: 1883 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1884 1885 def _retrieve_swig_value(self, name, value): 1886 # If we got back a different object than we have cached, we need to copy 1887 # all our metadata into it, so that it looks identical to the one 1888 # originally set. 1889 members = self.__dict__.get('_members') 1890 if members is not None and name in members: 1891 _copy_metadata_deep(value, members[name]) 1892 1893 # Verify that the new object is good 1894 _assert_valid_deep(value) 1895 1896 return value 1897 1898 # Attribute access must be intercepted to ensure that objects coming from 1899 # read attribute access match those that are set with write attribute access. 1900 # Specifically the metadata, such as the associated apr_pool object, should 1901 # match the originally assigned object. 1902 # 1903 # For classic classes it is enough to use __getattr__ to intercept swig 1904 # derived attributes. However, with new style classes SWIG makes use of 1905 # descriptors which mean that __getattr__ is never called. Therefore, 1906 # __getattribute__ must be used for the interception. 1907 1908 if _newclass: 1909 def __getattribute__(self, name): 1910 """Manage access to all attributes of this object.""" 1911 1912 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 1913 # items directly present in __dict__ 1914 mydict = object.__getattribute__(self, '__dict__') 1915 1916 if name == "__dict__": 1917 return mydict 1918 1919 if name in mydict: 1920 return mydict[name] 1921 1922 object.__getattribute__(self, 'assert_valid')() 1923 1924 value = _get_instance_attr(self, name) 1925 fn = object.__getattribute__(self, '_retrieve_swig_value') 1926 return fn(name, value) 1927 else: 1928 def __getattr__(self, name): 1929 """Get an attribute from this object""" 1930 self.assert_valid() 1931 1932 value = _swig_getattr(self, self.__class__, name) 1933 1934 return self._retrieve_swig_value(name, value) 1935 1936 def __setattr__(self, name, value): 1937 """Set an attribute on this object""" 1938 self.assert_valid() 1939 1940 # Save a copy of the object, so that the garbage 1941 # collector won't kill the object while it's in 1942 # SWIG-land 1943 self.__dict__.setdefault("_members",{})[name] = value 1944 1945 return _set_instance_attr(self, name, value) 1946 1947 1948 def __call__(self, *args): 1949 return svn_commit_invoke_callback2(self, *args) 1950 1951svn_commit_callback2_t_swigregister = _core.svn_commit_callback2_t_swigregister 1952svn_commit_callback2_t_swigregister(svn_commit_callback2_t) 1953 1954class svn_commit_callback_t(object): 1955 """Proxy of C svn_commit_callback_t struct.""" 1956 1957 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 1958 1959 def __init__(self, *args, **kwargs): 1960 raise AttributeError("No constructor defined") 1961 __repr__ = _swig_repr 1962 def set_parent_pool(self, parent_pool=None): 1963 """Create a new proxy object for TYPE""" 1964 import libsvn.core, weakref 1965 self.__dict__["_parent_pool"] = \ 1966 parent_pool or libsvn.core.application_pool; 1967 if self.__dict__["_parent_pool"]: 1968 self.__dict__["_is_valid"] = weakref.ref( 1969 self.__dict__["_parent_pool"]._is_valid) 1970 1971 def assert_valid(self): 1972 """Assert that this object is using valid pool memory""" 1973 if "_is_valid" in self.__dict__: 1974 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 1975 1976 def _retrieve_swig_value(self, name, value): 1977 # If we got back a different object than we have cached, we need to copy 1978 # all our metadata into it, so that it looks identical to the one 1979 # originally set. 1980 members = self.__dict__.get('_members') 1981 if members is not None and name in members: 1982 _copy_metadata_deep(value, members[name]) 1983 1984 # Verify that the new object is good 1985 _assert_valid_deep(value) 1986 1987 return value 1988 1989 # Attribute access must be intercepted to ensure that objects coming from 1990 # read attribute access match those that are set with write attribute access. 1991 # Specifically the metadata, such as the associated apr_pool object, should 1992 # match the originally assigned object. 1993 # 1994 # For classic classes it is enough to use __getattr__ to intercept swig 1995 # derived attributes. However, with new style classes SWIG makes use of 1996 # descriptors which mean that __getattr__ is never called. Therefore, 1997 # __getattribute__ must be used for the interception. 1998 1999 if _newclass: 2000 def __getattribute__(self, name): 2001 """Manage access to all attributes of this object.""" 2002 2003 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2004 # items directly present in __dict__ 2005 mydict = object.__getattribute__(self, '__dict__') 2006 2007 if name == "__dict__": 2008 return mydict 2009 2010 if name in mydict: 2011 return mydict[name] 2012 2013 object.__getattribute__(self, 'assert_valid')() 2014 2015 value = _get_instance_attr(self, name) 2016 fn = object.__getattribute__(self, '_retrieve_swig_value') 2017 return fn(name, value) 2018 else: 2019 def __getattr__(self, name): 2020 """Get an attribute from this object""" 2021 self.assert_valid() 2022 2023 value = _swig_getattr(self, self.__class__, name) 2024 2025 return self._retrieve_swig_value(name, value) 2026 2027 def __setattr__(self, name, value): 2028 """Set an attribute on this object""" 2029 self.assert_valid() 2030 2031 # Save a copy of the object, so that the garbage 2032 # collector won't kill the object while it's in 2033 # SWIG-land 2034 self.__dict__.setdefault("_members",{})[name] = value 2035 2036 return _set_instance_attr(self, name, value) 2037 2038 2039 def __call__(self, *args): 2040 return svn_commit_invoke_callback(self, *args) 2041 2042svn_commit_callback_t_swigregister = _core.svn_commit_callback_t_swigregister 2043svn_commit_callback_t_swigregister(svn_commit_callback_t) 2044 2045class svn_cancel_func_t(object): 2046 """Proxy of C svn_cancel_func_t struct.""" 2047 2048 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2049 2050 def __init__(self, *args, **kwargs): 2051 raise AttributeError("No constructor defined") 2052 __repr__ = _swig_repr 2053 def set_parent_pool(self, parent_pool=None): 2054 """Create a new proxy object for TYPE""" 2055 import libsvn.core, weakref 2056 self.__dict__["_parent_pool"] = \ 2057 parent_pool or libsvn.core.application_pool; 2058 if self.__dict__["_parent_pool"]: 2059 self.__dict__["_is_valid"] = weakref.ref( 2060 self.__dict__["_parent_pool"]._is_valid) 2061 2062 def assert_valid(self): 2063 """Assert that this object is using valid pool memory""" 2064 if "_is_valid" in self.__dict__: 2065 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2066 2067 def _retrieve_swig_value(self, name, value): 2068 # If we got back a different object than we have cached, we need to copy 2069 # all our metadata into it, so that it looks identical to the one 2070 # originally set. 2071 members = self.__dict__.get('_members') 2072 if members is not None and name in members: 2073 _copy_metadata_deep(value, members[name]) 2074 2075 # Verify that the new object is good 2076 _assert_valid_deep(value) 2077 2078 return value 2079 2080 # Attribute access must be intercepted to ensure that objects coming from 2081 # read attribute access match those that are set with write attribute access. 2082 # Specifically the metadata, such as the associated apr_pool object, should 2083 # match the originally assigned object. 2084 # 2085 # For classic classes it is enough to use __getattr__ to intercept swig 2086 # derived attributes. However, with new style classes SWIG makes use of 2087 # descriptors which mean that __getattr__ is never called. Therefore, 2088 # __getattribute__ must be used for the interception. 2089 2090 if _newclass: 2091 def __getattribute__(self, name): 2092 """Manage access to all attributes of this object.""" 2093 2094 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2095 # items directly present in __dict__ 2096 mydict = object.__getattribute__(self, '__dict__') 2097 2098 if name == "__dict__": 2099 return mydict 2100 2101 if name in mydict: 2102 return mydict[name] 2103 2104 object.__getattribute__(self, 'assert_valid')() 2105 2106 value = _get_instance_attr(self, name) 2107 fn = object.__getattribute__(self, '_retrieve_swig_value') 2108 return fn(name, value) 2109 else: 2110 def __getattr__(self, name): 2111 """Get an attribute from this object""" 2112 self.assert_valid() 2113 2114 value = _swig_getattr(self, self.__class__, name) 2115 2116 return self._retrieve_swig_value(name, value) 2117 2118 def __setattr__(self, name, value): 2119 """Set an attribute on this object""" 2120 self.assert_valid() 2121 2122 # Save a copy of the object, so that the garbage 2123 # collector won't kill the object while it's in 2124 # SWIG-land 2125 self.__dict__.setdefault("_members",{})[name] = value 2126 2127 return _set_instance_attr(self, name, value) 2128 2129 2130 def __call__(self, *args): 2131 return svn_cancel_invoke_func(self, *args) 2132 2133svn_cancel_func_t_swigregister = _core.svn_cancel_func_t_swigregister 2134svn_cancel_func_t_swigregister(svn_cancel_func_t) 2135 2136class svn_location_segment_receiver_t(object): 2137 """Proxy of C svn_location_segment_receiver_t struct.""" 2138 2139 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2140 2141 def __init__(self, *args, **kwargs): 2142 raise AttributeError("No constructor defined") 2143 __repr__ = _swig_repr 2144 def set_parent_pool(self, parent_pool=None): 2145 """Create a new proxy object for TYPE""" 2146 import libsvn.core, weakref 2147 self.__dict__["_parent_pool"] = \ 2148 parent_pool or libsvn.core.application_pool; 2149 if self.__dict__["_parent_pool"]: 2150 self.__dict__["_is_valid"] = weakref.ref( 2151 self.__dict__["_parent_pool"]._is_valid) 2152 2153 def assert_valid(self): 2154 """Assert that this object is using valid pool memory""" 2155 if "_is_valid" in self.__dict__: 2156 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2157 2158 def _retrieve_swig_value(self, name, value): 2159 # If we got back a different object than we have cached, we need to copy 2160 # all our metadata into it, so that it looks identical to the one 2161 # originally set. 2162 members = self.__dict__.get('_members') 2163 if members is not None and name in members: 2164 _copy_metadata_deep(value, members[name]) 2165 2166 # Verify that the new object is good 2167 _assert_valid_deep(value) 2168 2169 return value 2170 2171 # Attribute access must be intercepted to ensure that objects coming from 2172 # read attribute access match those that are set with write attribute access. 2173 # Specifically the metadata, such as the associated apr_pool object, should 2174 # match the originally assigned object. 2175 # 2176 # For classic classes it is enough to use __getattr__ to intercept swig 2177 # derived attributes. However, with new style classes SWIG makes use of 2178 # descriptors which mean that __getattr__ is never called. Therefore, 2179 # __getattribute__ must be used for the interception. 2180 2181 if _newclass: 2182 def __getattribute__(self, name): 2183 """Manage access to all attributes of this object.""" 2184 2185 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2186 # items directly present in __dict__ 2187 mydict = object.__getattribute__(self, '__dict__') 2188 2189 if name == "__dict__": 2190 return mydict 2191 2192 if name in mydict: 2193 return mydict[name] 2194 2195 object.__getattribute__(self, 'assert_valid')() 2196 2197 value = _get_instance_attr(self, name) 2198 fn = object.__getattribute__(self, '_retrieve_swig_value') 2199 return fn(name, value) 2200 else: 2201 def __getattr__(self, name): 2202 """Get an attribute from this object""" 2203 self.assert_valid() 2204 2205 value = _swig_getattr(self, self.__class__, name) 2206 2207 return self._retrieve_swig_value(name, value) 2208 2209 def __setattr__(self, name, value): 2210 """Set an attribute on this object""" 2211 self.assert_valid() 2212 2213 # Save a copy of the object, so that the garbage 2214 # collector won't kill the object while it's in 2215 # SWIG-land 2216 self.__dict__.setdefault("_members",{})[name] = value 2217 2218 return _set_instance_attr(self, name, value) 2219 2220 2221 def __call__(self, *args): 2222 return svn_location_invoke_segment_receiver(self, *args) 2223 2224svn_location_segment_receiver_t_swigregister = _core.svn_location_segment_receiver_t_swigregister 2225svn_location_segment_receiver_t_swigregister(svn_location_segment_receiver_t) 2226 2227SVN_ALLOCATOR_RECOMMENDED_MAX_FREE = _core.SVN_ALLOCATOR_RECOMMENDED_MAX_FREE 2228 2229def svn_pool_create(*args) -> "apr_pool_t *": 2230 """svn_pool_create(apr_pool_t parent_pool, apr_allocator_t * allocator) -> apr_pool_t""" 2231 return _core.svn_pool_create(*args) 2232 2233def svn_pool_create_allocator(thread_safe: 'svn_boolean_t') -> "apr_allocator_t *": 2234 """svn_pool_create_allocator(svn_boolean_t thread_safe) -> apr_allocator_t *""" 2235 return _core.svn_pool_create_allocator(thread_safe) 2236SVN_VER_MAJOR = _core.SVN_VER_MAJOR 2237SVN_VER_MINOR = _core.SVN_VER_MINOR 2238SVN_VER_PATCH = _core.SVN_VER_PATCH 2239SVN_VER_MICRO = _core.SVN_VER_MICRO 2240SVN_VER_LIBRARY = _core.SVN_VER_LIBRARY 2241SVN_VER_TAG = _core.SVN_VER_TAG 2242SVN_VER_NUMTAG = _core.SVN_VER_NUMTAG 2243SVN_VER_REVISION = _core.SVN_VER_REVISION 2244SVN_VER_NUM = _core.SVN_VER_NUM 2245SVN_VER_NUMBER = _core.SVN_VER_NUMBER 2246SVN_VERSION = _core.SVN_VERSION 2247 2248def svn_ver_compatible(my_version: 'svn_version_t const *', lib_version: 'svn_version_t const *') -> "svn_boolean_t": 2249 """svn_ver_compatible(svn_version_t const * my_version, svn_version_t const * lib_version) -> svn_boolean_t""" 2250 return _core.svn_ver_compatible(my_version, lib_version) 2251 2252def svn_ver_equal(my_version: 'svn_version_t const *', lib_version: 'svn_version_t const *') -> "svn_boolean_t": 2253 """svn_ver_equal(svn_version_t const * my_version, svn_version_t const * lib_version) -> svn_boolean_t""" 2254 return _core.svn_ver_equal(my_version, lib_version) 2255class svn_version_checklist_t(object): 2256 """Proxy of C svn_version_checklist_t struct.""" 2257 2258 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2259 __repr__ = _swig_repr 2260 label = _swig_property(_core.svn_version_checklist_t_label_get, _core.svn_version_checklist_t_label_set) 2261 version_query = _swig_property(_core.svn_version_checklist_t_version_query_get, _core.svn_version_checklist_t_version_query_set) 2262 def set_parent_pool(self, parent_pool=None): 2263 """Create a new proxy object for TYPE""" 2264 import libsvn.core, weakref 2265 self.__dict__["_parent_pool"] = \ 2266 parent_pool or libsvn.core.application_pool; 2267 if self.__dict__["_parent_pool"]: 2268 self.__dict__["_is_valid"] = weakref.ref( 2269 self.__dict__["_parent_pool"]._is_valid) 2270 2271 def assert_valid(self): 2272 """Assert that this object is using valid pool memory""" 2273 if "_is_valid" in self.__dict__: 2274 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2275 2276 def _retrieve_swig_value(self, name, value): 2277 # If we got back a different object than we have cached, we need to copy 2278 # all our metadata into it, so that it looks identical to the one 2279 # originally set. 2280 members = self.__dict__.get('_members') 2281 if members is not None and name in members: 2282 _copy_metadata_deep(value, members[name]) 2283 2284 # Verify that the new object is good 2285 _assert_valid_deep(value) 2286 2287 return value 2288 2289 # Attribute access must be intercepted to ensure that objects coming from 2290 # read attribute access match those that are set with write attribute access. 2291 # Specifically the metadata, such as the associated apr_pool object, should 2292 # match the originally assigned object. 2293 # 2294 # For classic classes it is enough to use __getattr__ to intercept swig 2295 # derived attributes. However, with new style classes SWIG makes use of 2296 # descriptors which mean that __getattr__ is never called. Therefore, 2297 # __getattribute__ must be used for the interception. 2298 2299 if _newclass: 2300 def __getattribute__(self, name): 2301 """Manage access to all attributes of this object.""" 2302 2303 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2304 # items directly present in __dict__ 2305 mydict = object.__getattribute__(self, '__dict__') 2306 2307 if name == "__dict__": 2308 return mydict 2309 2310 if name in mydict: 2311 return mydict[name] 2312 2313 object.__getattribute__(self, 'assert_valid')() 2314 2315 value = _get_instance_attr(self, name) 2316 fn = object.__getattribute__(self, '_retrieve_swig_value') 2317 return fn(name, value) 2318 else: 2319 def __getattr__(self, name): 2320 """Get an attribute from this object""" 2321 self.assert_valid() 2322 2323 value = _swig_getattr(self, self.__class__, name) 2324 2325 return self._retrieve_swig_value(name, value) 2326 2327 def __setattr__(self, name, value): 2328 """Set an attribute on this object""" 2329 self.assert_valid() 2330 2331 # Save a copy of the object, so that the garbage 2332 # collector won't kill the object while it's in 2333 # SWIG-land 2334 self.__dict__.setdefault("_members",{})[name] = value 2335 2336 return _set_instance_attr(self, name, value) 2337 2338 2339 def version_query(self, *args): 2340 return svn_version_checklist_invoke_version_query(self, *args) 2341 2342 2343 def __init__(self): 2344 """__init__(svn_version_checklist_t self) -> svn_version_checklist_t""" 2345 this = _core.new_svn_version_checklist_t() 2346 try: 2347 self.this.append(this) 2348 except __builtin__.Exception: 2349 self.this = this 2350 __swig_destroy__ = _core.delete_svn_version_checklist_t 2351 __del__ = lambda self: None 2352svn_version_checklist_t_swigregister = _core.svn_version_checklist_t_swigregister 2353svn_version_checklist_t_swigregister(svn_version_checklist_t) 2354 2355 2356def svn_ver_check_list2(my_version: 'svn_version_t const *', checklist: 'svn_version_checklist_t', comparator: 'svn_boolean_t (*)(svn_version_t const *,svn_version_t const *)') -> "svn_error_t *": 2357 """svn_ver_check_list2(svn_version_t const * my_version, svn_version_checklist_t checklist, svn_boolean_t (*)(svn_version_t const *,svn_version_t const *) comparator) -> svn_error_t""" 2358 return _core.svn_ver_check_list2(my_version, checklist, comparator) 2359 2360def svn_ver_check_list(my_version: 'svn_version_t const *', checklist: 'svn_version_checklist_t') -> "svn_error_t *": 2361 """svn_ver_check_list(svn_version_t const * my_version, svn_version_checklist_t checklist) -> svn_error_t""" 2362 return _core.svn_ver_check_list(my_version, checklist) 2363 2364def svn_subr_version() -> "svn_version_t const *": 2365 """svn_subr_version() -> svn_version_t const *""" 2366 return _core.svn_subr_version() 2367 2368def svn_version_extended(*args) -> "svn_version_extended_t const *": 2369 """svn_version_extended(svn_boolean_t verbose, apr_pool_t pool) -> svn_version_extended_t const *""" 2370 return _core.svn_version_extended(*args) 2371 2372def svn_version_ext_build_date(ext_info: 'svn_version_extended_t const *') -> "char const *": 2373 """svn_version_ext_build_date(svn_version_extended_t const * ext_info) -> char const *""" 2374 return _core.svn_version_ext_build_date(ext_info) 2375 2376def svn_version_ext_build_time(ext_info: 'svn_version_extended_t const *') -> "char const *": 2377 """svn_version_ext_build_time(svn_version_extended_t const * ext_info) -> char const *""" 2378 return _core.svn_version_ext_build_time(ext_info) 2379 2380def svn_version_ext_build_host(ext_info: 'svn_version_extended_t const *') -> "char const *": 2381 """svn_version_ext_build_host(svn_version_extended_t const * ext_info) -> char const *""" 2382 return _core.svn_version_ext_build_host(ext_info) 2383 2384def svn_version_ext_copyright(ext_info: 'svn_version_extended_t const *') -> "char const *": 2385 """svn_version_ext_copyright(svn_version_extended_t const * ext_info) -> char const *""" 2386 return _core.svn_version_ext_copyright(ext_info) 2387 2388def svn_version_ext_runtime_host(ext_info: 'svn_version_extended_t const *') -> "char const *": 2389 """svn_version_ext_runtime_host(svn_version_extended_t const * ext_info) -> char const *""" 2390 return _core.svn_version_ext_runtime_host(ext_info) 2391 2392def svn_version_ext_runtime_osname(ext_info: 'svn_version_extended_t const *') -> "char const *": 2393 """svn_version_ext_runtime_osname(svn_version_extended_t const * ext_info) -> char const *""" 2394 return _core.svn_version_ext_runtime_osname(ext_info) 2395class svn_version_ext_linked_lib_t(object): 2396 """Proxy of C svn_version_ext_linked_lib_t struct.""" 2397 2398 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2399 __repr__ = _swig_repr 2400 name = _swig_property(_core.svn_version_ext_linked_lib_t_name_get, _core.svn_version_ext_linked_lib_t_name_set) 2401 compiled_version = _swig_property(_core.svn_version_ext_linked_lib_t_compiled_version_get, _core.svn_version_ext_linked_lib_t_compiled_version_set) 2402 runtime_version = _swig_property(_core.svn_version_ext_linked_lib_t_runtime_version_get, _core.svn_version_ext_linked_lib_t_runtime_version_set) 2403 def set_parent_pool(self, parent_pool=None): 2404 """Create a new proxy object for TYPE""" 2405 import libsvn.core, weakref 2406 self.__dict__["_parent_pool"] = \ 2407 parent_pool or libsvn.core.application_pool; 2408 if self.__dict__["_parent_pool"]: 2409 self.__dict__["_is_valid"] = weakref.ref( 2410 self.__dict__["_parent_pool"]._is_valid) 2411 2412 def assert_valid(self): 2413 """Assert that this object is using valid pool memory""" 2414 if "_is_valid" in self.__dict__: 2415 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2416 2417 def _retrieve_swig_value(self, name, value): 2418 # If we got back a different object than we have cached, we need to copy 2419 # all our metadata into it, so that it looks identical to the one 2420 # originally set. 2421 members = self.__dict__.get('_members') 2422 if members is not None and name in members: 2423 _copy_metadata_deep(value, members[name]) 2424 2425 # Verify that the new object is good 2426 _assert_valid_deep(value) 2427 2428 return value 2429 2430 # Attribute access must be intercepted to ensure that objects coming from 2431 # read attribute access match those that are set with write attribute access. 2432 # Specifically the metadata, such as the associated apr_pool object, should 2433 # match the originally assigned object. 2434 # 2435 # For classic classes it is enough to use __getattr__ to intercept swig 2436 # derived attributes. However, with new style classes SWIG makes use of 2437 # descriptors which mean that __getattr__ is never called. Therefore, 2438 # __getattribute__ must be used for the interception. 2439 2440 if _newclass: 2441 def __getattribute__(self, name): 2442 """Manage access to all attributes of this object.""" 2443 2444 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2445 # items directly present in __dict__ 2446 mydict = object.__getattribute__(self, '__dict__') 2447 2448 if name == "__dict__": 2449 return mydict 2450 2451 if name in mydict: 2452 return mydict[name] 2453 2454 object.__getattribute__(self, 'assert_valid')() 2455 2456 value = _get_instance_attr(self, name) 2457 fn = object.__getattribute__(self, '_retrieve_swig_value') 2458 return fn(name, value) 2459 else: 2460 def __getattr__(self, name): 2461 """Get an attribute from this object""" 2462 self.assert_valid() 2463 2464 value = _swig_getattr(self, self.__class__, name) 2465 2466 return self._retrieve_swig_value(name, value) 2467 2468 def __setattr__(self, name, value): 2469 """Set an attribute on this object""" 2470 self.assert_valid() 2471 2472 # Save a copy of the object, so that the garbage 2473 # collector won't kill the object while it's in 2474 # SWIG-land 2475 self.__dict__.setdefault("_members",{})[name] = value 2476 2477 return _set_instance_attr(self, name, value) 2478 2479 2480 def __init__(self): 2481 """__init__(svn_version_ext_linked_lib_t self) -> svn_version_ext_linked_lib_t""" 2482 this = _core.new_svn_version_ext_linked_lib_t() 2483 try: 2484 self.this.append(this) 2485 except __builtin__.Exception: 2486 self.this = this 2487 __swig_destroy__ = _core.delete_svn_version_ext_linked_lib_t 2488 __del__ = lambda self: None 2489svn_version_ext_linked_lib_t_swigregister = _core.svn_version_ext_linked_lib_t_swigregister 2490svn_version_ext_linked_lib_t_swigregister(svn_version_ext_linked_lib_t) 2491 2492 2493def svn_version_ext_linked_libs(ext_info: 'svn_version_extended_t const *') -> "apr_array_header_t const *": 2494 """svn_version_ext_linked_libs(svn_version_extended_t const * ext_info) -> apr_array_header_t""" 2495 return _core.svn_version_ext_linked_libs(ext_info) 2496class svn_version_ext_loaded_lib_t(object): 2497 """Proxy of C svn_version_ext_loaded_lib_t struct.""" 2498 2499 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2500 __repr__ = _swig_repr 2501 name = _swig_property(_core.svn_version_ext_loaded_lib_t_name_get, _core.svn_version_ext_loaded_lib_t_name_set) 2502 version = _swig_property(_core.svn_version_ext_loaded_lib_t_version_get, _core.svn_version_ext_loaded_lib_t_version_set) 2503 def set_parent_pool(self, parent_pool=None): 2504 """Create a new proxy object for TYPE""" 2505 import libsvn.core, weakref 2506 self.__dict__["_parent_pool"] = \ 2507 parent_pool or libsvn.core.application_pool; 2508 if self.__dict__["_parent_pool"]: 2509 self.__dict__["_is_valid"] = weakref.ref( 2510 self.__dict__["_parent_pool"]._is_valid) 2511 2512 def assert_valid(self): 2513 """Assert that this object is using valid pool memory""" 2514 if "_is_valid" in self.__dict__: 2515 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2516 2517 def _retrieve_swig_value(self, name, value): 2518 # If we got back a different object than we have cached, we need to copy 2519 # all our metadata into it, so that it looks identical to the one 2520 # originally set. 2521 members = self.__dict__.get('_members') 2522 if members is not None and name in members: 2523 _copy_metadata_deep(value, members[name]) 2524 2525 # Verify that the new object is good 2526 _assert_valid_deep(value) 2527 2528 return value 2529 2530 # Attribute access must be intercepted to ensure that objects coming from 2531 # read attribute access match those that are set with write attribute access. 2532 # Specifically the metadata, such as the associated apr_pool object, should 2533 # match the originally assigned object. 2534 # 2535 # For classic classes it is enough to use __getattr__ to intercept swig 2536 # derived attributes. However, with new style classes SWIG makes use of 2537 # descriptors which mean that __getattr__ is never called. Therefore, 2538 # __getattribute__ must be used for the interception. 2539 2540 if _newclass: 2541 def __getattribute__(self, name): 2542 """Manage access to all attributes of this object.""" 2543 2544 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2545 # items directly present in __dict__ 2546 mydict = object.__getattribute__(self, '__dict__') 2547 2548 if name == "__dict__": 2549 return mydict 2550 2551 if name in mydict: 2552 return mydict[name] 2553 2554 object.__getattribute__(self, 'assert_valid')() 2555 2556 value = _get_instance_attr(self, name) 2557 fn = object.__getattribute__(self, '_retrieve_swig_value') 2558 return fn(name, value) 2559 else: 2560 def __getattr__(self, name): 2561 """Get an attribute from this object""" 2562 self.assert_valid() 2563 2564 value = _swig_getattr(self, self.__class__, name) 2565 2566 return self._retrieve_swig_value(name, value) 2567 2568 def __setattr__(self, name, value): 2569 """Set an attribute on this object""" 2570 self.assert_valid() 2571 2572 # Save a copy of the object, so that the garbage 2573 # collector won't kill the object while it's in 2574 # SWIG-land 2575 self.__dict__.setdefault("_members",{})[name] = value 2576 2577 return _set_instance_attr(self, name, value) 2578 2579 2580 def __init__(self): 2581 """__init__(svn_version_ext_loaded_lib_t self) -> svn_version_ext_loaded_lib_t""" 2582 this = _core.new_svn_version_ext_loaded_lib_t() 2583 try: 2584 self.this.append(this) 2585 except __builtin__.Exception: 2586 self.this = this 2587 __swig_destroy__ = _core.delete_svn_version_ext_loaded_lib_t 2588 __del__ = lambda self: None 2589svn_version_ext_loaded_lib_t_swigregister = _core.svn_version_ext_loaded_lib_t_swigregister 2590svn_version_ext_loaded_lib_t_swigregister(svn_version_ext_loaded_lib_t) 2591 2592 2593def svn_version_ext_loaded_libs(ext_info: 'svn_version_extended_t const *') -> "apr_array_header_t const *": 2594 """svn_version_ext_loaded_libs(svn_version_extended_t const * ext_info) -> apr_array_header_t""" 2595 return _core.svn_version_ext_loaded_libs(ext_info) 2596class svn_version_extended_t(object): 2597 """Proxy of C svn_version_extended_t struct.""" 2598 2599 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2600 2601 def __init__(self, *args, **kwargs): 2602 raise AttributeError("No constructor defined") 2603 __repr__ = _swig_repr 2604 def set_parent_pool(self, parent_pool=None): 2605 """Create a new proxy object for TYPE""" 2606 import libsvn.core, weakref 2607 self.__dict__["_parent_pool"] = \ 2608 parent_pool or libsvn.core.application_pool; 2609 if self.__dict__["_parent_pool"]: 2610 self.__dict__["_is_valid"] = weakref.ref( 2611 self.__dict__["_parent_pool"]._is_valid) 2612 2613 def assert_valid(self): 2614 """Assert that this object is using valid pool memory""" 2615 if "_is_valid" in self.__dict__: 2616 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2617 2618 def _retrieve_swig_value(self, name, value): 2619 # If we got back a different object than we have cached, we need to copy 2620 # all our metadata into it, so that it looks identical to the one 2621 # originally set. 2622 members = self.__dict__.get('_members') 2623 if members is not None and name in members: 2624 _copy_metadata_deep(value, members[name]) 2625 2626 # Verify that the new object is good 2627 _assert_valid_deep(value) 2628 2629 return value 2630 2631 # Attribute access must be intercepted to ensure that objects coming from 2632 # read attribute access match those that are set with write attribute access. 2633 # Specifically the metadata, such as the associated apr_pool object, should 2634 # match the originally assigned object. 2635 # 2636 # For classic classes it is enough to use __getattr__ to intercept swig 2637 # derived attributes. However, with new style classes SWIG makes use of 2638 # descriptors which mean that __getattr__ is never called. Therefore, 2639 # __getattribute__ must be used for the interception. 2640 2641 if _newclass: 2642 def __getattribute__(self, name): 2643 """Manage access to all attributes of this object.""" 2644 2645 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2646 # items directly present in __dict__ 2647 mydict = object.__getattribute__(self, '__dict__') 2648 2649 if name == "__dict__": 2650 return mydict 2651 2652 if name in mydict: 2653 return mydict[name] 2654 2655 object.__getattribute__(self, 'assert_valid')() 2656 2657 value = _get_instance_attr(self, name) 2658 fn = object.__getattribute__(self, '_retrieve_swig_value') 2659 return fn(name, value) 2660 else: 2661 def __getattr__(self, name): 2662 """Get an attribute from this object""" 2663 self.assert_valid() 2664 2665 value = _swig_getattr(self, self.__class__, name) 2666 2667 return self._retrieve_swig_value(name, value) 2668 2669 def __setattr__(self, name, value): 2670 """Set an attribute on this object""" 2671 self.assert_valid() 2672 2673 # Save a copy of the object, so that the garbage 2674 # collector won't kill the object while it's in 2675 # SWIG-land 2676 self.__dict__.setdefault("_members",{})[name] = value 2677 2678 return _set_instance_attr(self, name, value) 2679 2680svn_version_extended_t_swigregister = _core.svn_version_extended_t_swigregister 2681svn_version_extended_t_swigregister(svn_version_extended_t) 2682 2683 2684def svn_version_checklist_invoke_version_query(_obj: 'svn_version_checklist_t') -> "svn_version_t const *": 2685 """svn_version_checklist_invoke_version_query(svn_version_checklist_t _obj) -> svn_version_t const *""" 2686 return _core.svn_version_checklist_invoke_version_query(_obj) 2687 2688def svn_version_invoke_func(_obj: 'svn_version_func_t') -> "svn_version_t const *": 2689 """svn_version_invoke_func(svn_version_func_t _obj) -> svn_version_t const *""" 2690 return _core.svn_version_invoke_func(_obj) 2691class svn_version_func_t(object): 2692 """Proxy of C svn_version_func_t struct.""" 2693 2694 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2695 2696 def __init__(self, *args, **kwargs): 2697 raise AttributeError("No constructor defined") 2698 __repr__ = _swig_repr 2699 def set_parent_pool(self, parent_pool=None): 2700 """Create a new proxy object for TYPE""" 2701 import libsvn.core, weakref 2702 self.__dict__["_parent_pool"] = \ 2703 parent_pool or libsvn.core.application_pool; 2704 if self.__dict__["_parent_pool"]: 2705 self.__dict__["_is_valid"] = weakref.ref( 2706 self.__dict__["_parent_pool"]._is_valid) 2707 2708 def assert_valid(self): 2709 """Assert that this object is using valid pool memory""" 2710 if "_is_valid" in self.__dict__: 2711 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2712 2713 def _retrieve_swig_value(self, name, value): 2714 # If we got back a different object than we have cached, we need to copy 2715 # all our metadata into it, so that it looks identical to the one 2716 # originally set. 2717 members = self.__dict__.get('_members') 2718 if members is not None and name in members: 2719 _copy_metadata_deep(value, members[name]) 2720 2721 # Verify that the new object is good 2722 _assert_valid_deep(value) 2723 2724 return value 2725 2726 # Attribute access must be intercepted to ensure that objects coming from 2727 # read attribute access match those that are set with write attribute access. 2728 # Specifically the metadata, such as the associated apr_pool object, should 2729 # match the originally assigned object. 2730 # 2731 # For classic classes it is enough to use __getattr__ to intercept swig 2732 # derived attributes. However, with new style classes SWIG makes use of 2733 # descriptors which mean that __getattr__ is never called. Therefore, 2734 # __getattribute__ must be used for the interception. 2735 2736 if _newclass: 2737 def __getattribute__(self, name): 2738 """Manage access to all attributes of this object.""" 2739 2740 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2741 # items directly present in __dict__ 2742 mydict = object.__getattribute__(self, '__dict__') 2743 2744 if name == "__dict__": 2745 return mydict 2746 2747 if name in mydict: 2748 return mydict[name] 2749 2750 object.__getattribute__(self, 'assert_valid')() 2751 2752 value = _get_instance_attr(self, name) 2753 fn = object.__getattribute__(self, '_retrieve_swig_value') 2754 return fn(name, value) 2755 else: 2756 def __getattr__(self, name): 2757 """Get an attribute from this object""" 2758 self.assert_valid() 2759 2760 value = _swig_getattr(self, self.__class__, name) 2761 2762 return self._retrieve_swig_value(name, value) 2763 2764 def __setattr__(self, name, value): 2765 """Set an attribute on this object""" 2766 self.assert_valid() 2767 2768 # Save a copy of the object, so that the garbage 2769 # collector won't kill the object while it's in 2770 # SWIG-land 2771 self.__dict__.setdefault("_members",{})[name] = value 2772 2773 return _set_instance_attr(self, name, value) 2774 2775 2776 def __call__(self, *args): 2777 return svn_version_invoke_func(self, *args) 2778 2779svn_version_func_t_swigregister = _core.svn_version_func_t_swigregister 2780svn_version_func_t_swigregister(svn_version_func_t) 2781 2782 2783def svn_prop_dup(*args) -> "svn_prop_t *": 2784 """svn_prop_dup(svn_prop_t const * prop, apr_pool_t pool) -> svn_prop_t *""" 2785 return _core.svn_prop_dup(*args) 2786 2787def svn_prop_array_dup(*args) -> "apr_array_header_t *": 2788 """svn_prop_array_dup(apr_array_header_t array, apr_pool_t pool) -> apr_array_header_t""" 2789 return _core.svn_prop_array_dup(*args) 2790class svn_prop_inherited_item_t(object): 2791 """Proxy of C svn_prop_inherited_item_t struct.""" 2792 2793 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 2794 __repr__ = _swig_repr 2795 path_or_url = _swig_property(_core.svn_prop_inherited_item_t_path_or_url_get, _core.svn_prop_inherited_item_t_path_or_url_set) 2796 prop_hash = _swig_property(_core.svn_prop_inherited_item_t_prop_hash_get, _core.svn_prop_inherited_item_t_prop_hash_set) 2797 def set_parent_pool(self, parent_pool=None): 2798 """Create a new proxy object for TYPE""" 2799 import libsvn.core, weakref 2800 self.__dict__["_parent_pool"] = \ 2801 parent_pool or libsvn.core.application_pool; 2802 if self.__dict__["_parent_pool"]: 2803 self.__dict__["_is_valid"] = weakref.ref( 2804 self.__dict__["_parent_pool"]._is_valid) 2805 2806 def assert_valid(self): 2807 """Assert that this object is using valid pool memory""" 2808 if "_is_valid" in self.__dict__: 2809 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 2810 2811 def _retrieve_swig_value(self, name, value): 2812 # If we got back a different object than we have cached, we need to copy 2813 # all our metadata into it, so that it looks identical to the one 2814 # originally set. 2815 members = self.__dict__.get('_members') 2816 if members is not None and name in members: 2817 _copy_metadata_deep(value, members[name]) 2818 2819 # Verify that the new object is good 2820 _assert_valid_deep(value) 2821 2822 return value 2823 2824 # Attribute access must be intercepted to ensure that objects coming from 2825 # read attribute access match those that are set with write attribute access. 2826 # Specifically the metadata, such as the associated apr_pool object, should 2827 # match the originally assigned object. 2828 # 2829 # For classic classes it is enough to use __getattr__ to intercept swig 2830 # derived attributes. However, with new style classes SWIG makes use of 2831 # descriptors which mean that __getattr__ is never called. Therefore, 2832 # __getattribute__ must be used for the interception. 2833 2834 if _newclass: 2835 def __getattribute__(self, name): 2836 """Manage access to all attributes of this object.""" 2837 2838 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 2839 # items directly present in __dict__ 2840 mydict = object.__getattribute__(self, '__dict__') 2841 2842 if name == "__dict__": 2843 return mydict 2844 2845 if name in mydict: 2846 return mydict[name] 2847 2848 object.__getattribute__(self, 'assert_valid')() 2849 2850 value = _get_instance_attr(self, name) 2851 fn = object.__getattribute__(self, '_retrieve_swig_value') 2852 return fn(name, value) 2853 else: 2854 def __getattr__(self, name): 2855 """Get an attribute from this object""" 2856 self.assert_valid() 2857 2858 value = _swig_getattr(self, self.__class__, name) 2859 2860 return self._retrieve_swig_value(name, value) 2861 2862 def __setattr__(self, name, value): 2863 """Set an attribute on this object""" 2864 self.assert_valid() 2865 2866 # Save a copy of the object, so that the garbage 2867 # collector won't kill the object while it's in 2868 # SWIG-land 2869 self.__dict__.setdefault("_members",{})[name] = value 2870 2871 return _set_instance_attr(self, name, value) 2872 2873 2874 def __init__(self): 2875 """__init__(svn_prop_inherited_item_t self) -> svn_prop_inherited_item_t""" 2876 this = _core.new_svn_prop_inherited_item_t() 2877 try: 2878 self.this.append(this) 2879 except __builtin__.Exception: 2880 self.this = this 2881 __swig_destroy__ = _core.delete_svn_prop_inherited_item_t 2882 __del__ = lambda self: None 2883svn_prop_inherited_item_t_swigregister = _core.svn_prop_inherited_item_t_swigregister 2884svn_prop_inherited_item_t_swigregister(svn_prop_inherited_item_t) 2885 2886 2887def svn_prop_hash_to_array(*args) -> "apr_array_header_t *": 2888 """svn_prop_hash_to_array(apr_hash_t hash, apr_pool_t pool) -> apr_array_header_t""" 2889 return _core.svn_prop_hash_to_array(*args) 2890 2891def svn_prop_array_to_hash(*args) -> "apr_hash_t *": 2892 """svn_prop_array_to_hash(apr_array_header_t properties, apr_pool_t result) -> apr_hash_t""" 2893 return _core.svn_prop_array_to_hash(*args) 2894 2895def svn_prop_hash_dup(*args) -> "apr_hash_t *": 2896 """svn_prop_hash_dup(apr_hash_t hash, apr_pool_t pool) -> apr_hash_t""" 2897 return _core.svn_prop_hash_dup(*args) 2898 2899def svn_prop_get_value(properties: 'apr_hash_t', prop_name: 'char const *') -> "char const *": 2900 """svn_prop_get_value(apr_hash_t properties, char const * prop_name) -> char const *""" 2901 return _core.svn_prop_get_value(properties, prop_name) 2902svn_prop_entry_kind = _core.svn_prop_entry_kind 2903svn_prop_wc_kind = _core.svn_prop_wc_kind 2904svn_prop_regular_kind = _core.svn_prop_regular_kind 2905 2906def svn_property_kind2(prop_name: 'char const *') -> "svn_prop_kind_t": 2907 """svn_property_kind2(char const * prop_name) -> svn_prop_kind_t""" 2908 return _core.svn_property_kind2(prop_name) 2909 2910def svn_property_kind(prop_name: 'char const *') -> "int *": 2911 """svn_property_kind(char const * prop_name) -> svn_prop_kind_t""" 2912 return _core.svn_property_kind(prop_name) 2913 2914def svn_prop_is_svn_prop(prop_name: 'char const *') -> "svn_boolean_t": 2915 """svn_prop_is_svn_prop(char const * prop_name) -> svn_boolean_t""" 2916 return _core.svn_prop_is_svn_prop(prop_name) 2917 2918def svn_prop_has_svn_prop(*args) -> "svn_boolean_t": 2919 """svn_prop_has_svn_prop(apr_hash_t props, apr_pool_t pool) -> svn_boolean_t""" 2920 return _core.svn_prop_has_svn_prop(*args) 2921 2922def svn_prop_is_boolean(prop_name: 'char const *') -> "svn_boolean_t": 2923 """svn_prop_is_boolean(char const * prop_name) -> svn_boolean_t""" 2924 return _core.svn_prop_is_boolean(prop_name) 2925 2926def svn_prop_is_known_svn_rev_prop(prop_name: 'char const *') -> "svn_boolean_t": 2927 """svn_prop_is_known_svn_rev_prop(char const * prop_name) -> svn_boolean_t""" 2928 return _core.svn_prop_is_known_svn_rev_prop(prop_name) 2929 2930def svn_prop_is_known_svn_node_prop(prop_name: 'char const *') -> "svn_boolean_t": 2931 """svn_prop_is_known_svn_node_prop(char const * prop_name) -> svn_boolean_t""" 2932 return _core.svn_prop_is_known_svn_node_prop(prop_name) 2933 2934def svn_prop_is_known_svn_file_prop(prop_name: 'char const *') -> "svn_boolean_t": 2935 """svn_prop_is_known_svn_file_prop(char const * prop_name) -> svn_boolean_t""" 2936 return _core.svn_prop_is_known_svn_file_prop(prop_name) 2937 2938def svn_prop_is_known_svn_dir_prop(prop_name: 'char const *') -> "svn_boolean_t": 2939 """svn_prop_is_known_svn_dir_prop(char const * prop_name) -> svn_boolean_t""" 2940 return _core.svn_prop_is_known_svn_dir_prop(prop_name) 2941 2942def svn_prop_needs_translation(prop_name: 'char const *') -> "svn_boolean_t": 2943 """svn_prop_needs_translation(char const * prop_name) -> svn_boolean_t""" 2944 return _core.svn_prop_needs_translation(prop_name) 2945 2946def svn_categorize_props(*args) -> "apr_array_header_t **, apr_array_header_t **, apr_array_header_t **": 2947 """svn_categorize_props(apr_array_header_t proplist, apr_pool_t pool) -> svn_error_t""" 2948 return _core.svn_categorize_props(*args) 2949 2950def svn_prop_diffs(*args) -> "apr_array_header_t **": 2951 """svn_prop_diffs(apr_hash_t target_props, apr_hash_t source_props, apr_pool_t pool) -> svn_error_t""" 2952 return _core.svn_prop_diffs(*args) 2953 2954def svn_prop_name_is_valid(prop_name: 'char const *') -> "svn_boolean_t": 2955 """svn_prop_name_is_valid(char const * prop_name) -> svn_boolean_t""" 2956 return _core.svn_prop_name_is_valid(prop_name) 2957SVN_PROP_PREFIX = _core.SVN_PROP_PREFIX 2958SVN_PROP_BOOLEAN_TRUE = _core.SVN_PROP_BOOLEAN_TRUE 2959SVN_PROP_MIME_TYPE = _core.SVN_PROP_MIME_TYPE 2960SVN_PROP_IGNORE = _core.SVN_PROP_IGNORE 2961SVN_PROP_EOL_STYLE = _core.SVN_PROP_EOL_STYLE 2962SVN_PROP_KEYWORDS = _core.SVN_PROP_KEYWORDS 2963SVN_PROP_EXECUTABLE = _core.SVN_PROP_EXECUTABLE 2964SVN_PROP_EXECUTABLE_VALUE = _core.SVN_PROP_EXECUTABLE_VALUE 2965SVN_PROP_NEEDS_LOCK = _core.SVN_PROP_NEEDS_LOCK 2966SVN_PROP_NEEDS_LOCK_VALUE = _core.SVN_PROP_NEEDS_LOCK_VALUE 2967SVN_PROP_SPECIAL = _core.SVN_PROP_SPECIAL 2968SVN_PROP_SPECIAL_VALUE = _core.SVN_PROP_SPECIAL_VALUE 2969SVN_PROP_EXTERNALS = _core.SVN_PROP_EXTERNALS 2970SVN_PROP_MERGEINFO = _core.SVN_PROP_MERGEINFO 2971SVN_PROP_INHERITABLE_AUTO_PROPS = _core.SVN_PROP_INHERITABLE_AUTO_PROPS 2972SVN_PROP_INHERITABLE_IGNORES = _core.SVN_PROP_INHERITABLE_IGNORES 2973SVN_PROP_TEXT_TIME = _core.SVN_PROP_TEXT_TIME 2974SVN_PROP_OWNER = _core.SVN_PROP_OWNER 2975SVN_PROP_GROUP = _core.SVN_PROP_GROUP 2976SVN_PROP_UNIX_MODE = _core.SVN_PROP_UNIX_MODE 2977SVN_PROP_WC_PREFIX = _core.SVN_PROP_WC_PREFIX 2978SVN_PROP_ENTRY_PREFIX = _core.SVN_PROP_ENTRY_PREFIX 2979SVN_PROP_ENTRY_COMMITTED_REV = _core.SVN_PROP_ENTRY_COMMITTED_REV 2980SVN_PROP_ENTRY_COMMITTED_DATE = _core.SVN_PROP_ENTRY_COMMITTED_DATE 2981SVN_PROP_ENTRY_LAST_AUTHOR = _core.SVN_PROP_ENTRY_LAST_AUTHOR 2982SVN_PROP_ENTRY_UUID = _core.SVN_PROP_ENTRY_UUID 2983SVN_PROP_ENTRY_LOCK_TOKEN = _core.SVN_PROP_ENTRY_LOCK_TOKEN 2984SVN_PROP_CUSTOM_PREFIX = _core.SVN_PROP_CUSTOM_PREFIX 2985SVN_PROP_REVISION_AUTHOR = _core.SVN_PROP_REVISION_AUTHOR 2986SVN_PROP_REVISION_LOG = _core.SVN_PROP_REVISION_LOG 2987SVN_PROP_REVISION_DATE = _core.SVN_PROP_REVISION_DATE 2988SVN_PROP_REVISION_ORIG_DATE = _core.SVN_PROP_REVISION_ORIG_DATE 2989SVN_PROP_REVISION_AUTOVERSIONED = _core.SVN_PROP_REVISION_AUTOVERSIONED 2990SVNSYNC_PROP_PREFIX = _core.SVNSYNC_PROP_PREFIX 2991SVNSYNC_PROP_LOCK = _core.SVNSYNC_PROP_LOCK 2992SVNSYNC_PROP_FROM_URL = _core.SVNSYNC_PROP_FROM_URL 2993SVNSYNC_PROP_FROM_UUID = _core.SVNSYNC_PROP_FROM_UUID 2994SVNSYNC_PROP_LAST_MERGED_REV = _core.SVNSYNC_PROP_LAST_MERGED_REV 2995SVNSYNC_PROP_CURRENTLY_COPYING = _core.SVNSYNC_PROP_CURRENTLY_COPYING 2996SVN_PROP_TXN_PREFIX = _core.SVN_PROP_TXN_PREFIX 2997SVN_PROP_TXN_CLIENT_COMPAT_VERSION = _core.SVN_PROP_TXN_CLIENT_COMPAT_VERSION 2998SVN_PROP_TXN_USER_AGENT = _core.SVN_PROP_TXN_USER_AGENT 2999SVN_PROP_REVISION_PREFIX = _core.SVN_PROP_REVISION_PREFIX 3000svn_opt_revision_unspecified = _core.svn_opt_revision_unspecified 3001svn_opt_revision_number = _core.svn_opt_revision_number 3002svn_opt_revision_date = _core.svn_opt_revision_date 3003svn_opt_revision_committed = _core.svn_opt_revision_committed 3004svn_opt_revision_previous = _core.svn_opt_revision_previous 3005svn_opt_revision_base = _core.svn_opt_revision_base 3006svn_opt_revision_working = _core.svn_opt_revision_working 3007svn_opt_revision_head = _core.svn_opt_revision_head 3008SVN_OPT_MAX_ALIASES = _core.SVN_OPT_MAX_ALIASES 3009SVN_OPT_MAX_OPTIONS = _core.SVN_OPT_MAX_OPTIONS 3010SVN_OPT_MAX_PARAGRAPHS = _core.SVN_OPT_MAX_PARAGRAPHS 3011SVN_OPT_FIRST_LONGOPT_ID = _core.SVN_OPT_FIRST_LONGOPT_ID 3012class svn_opt_subcommand_desc3_t(object): 3013 """Proxy of C svn_opt_subcommand_desc3_t struct.""" 3014 3015 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3016 __repr__ = _swig_repr 3017 name = _swig_property(_core.svn_opt_subcommand_desc3_t_name_get, _core.svn_opt_subcommand_desc3_t_name_set) 3018 cmd_func = _swig_property(_core.svn_opt_subcommand_desc3_t_cmd_func_get, _core.svn_opt_subcommand_desc3_t_cmd_func_set) 3019 aliases = _swig_property(_core.svn_opt_subcommand_desc3_t_aliases_get, _core.svn_opt_subcommand_desc3_t_aliases_set) 3020 help = _swig_property(_core.svn_opt_subcommand_desc3_t_help_get, _core.svn_opt_subcommand_desc3_t_help_set) 3021 valid_options = _swig_property(_core.svn_opt_subcommand_desc3_t_valid_options_get, _core.svn_opt_subcommand_desc3_t_valid_options_set) 3022 desc_overrides = _swig_property(_core.svn_opt_subcommand_desc3_t_desc_overrides_get) 3023 def set_parent_pool(self, parent_pool=None): 3024 """Create a new proxy object for TYPE""" 3025 import libsvn.core, weakref 3026 self.__dict__["_parent_pool"] = \ 3027 parent_pool or libsvn.core.application_pool; 3028 if self.__dict__["_parent_pool"]: 3029 self.__dict__["_is_valid"] = weakref.ref( 3030 self.__dict__["_parent_pool"]._is_valid) 3031 3032 def assert_valid(self): 3033 """Assert that this object is using valid pool memory""" 3034 if "_is_valid" in self.__dict__: 3035 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3036 3037 def _retrieve_swig_value(self, name, value): 3038 # If we got back a different object than we have cached, we need to copy 3039 # all our metadata into it, so that it looks identical to the one 3040 # originally set. 3041 members = self.__dict__.get('_members') 3042 if members is not None and name in members: 3043 _copy_metadata_deep(value, members[name]) 3044 3045 # Verify that the new object is good 3046 _assert_valid_deep(value) 3047 3048 return value 3049 3050 # Attribute access must be intercepted to ensure that objects coming from 3051 # read attribute access match those that are set with write attribute access. 3052 # Specifically the metadata, such as the associated apr_pool object, should 3053 # match the originally assigned object. 3054 # 3055 # For classic classes it is enough to use __getattr__ to intercept swig 3056 # derived attributes. However, with new style classes SWIG makes use of 3057 # descriptors which mean that __getattr__ is never called. Therefore, 3058 # __getattribute__ must be used for the interception. 3059 3060 if _newclass: 3061 def __getattribute__(self, name): 3062 """Manage access to all attributes of this object.""" 3063 3064 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3065 # items directly present in __dict__ 3066 mydict = object.__getattribute__(self, '__dict__') 3067 3068 if name == "__dict__": 3069 return mydict 3070 3071 if name in mydict: 3072 return mydict[name] 3073 3074 object.__getattribute__(self, 'assert_valid')() 3075 3076 value = _get_instance_attr(self, name) 3077 fn = object.__getattribute__(self, '_retrieve_swig_value') 3078 return fn(name, value) 3079 else: 3080 def __getattr__(self, name): 3081 """Get an attribute from this object""" 3082 self.assert_valid() 3083 3084 value = _swig_getattr(self, self.__class__, name) 3085 3086 return self._retrieve_swig_value(name, value) 3087 3088 def __setattr__(self, name, value): 3089 """Set an attribute on this object""" 3090 self.assert_valid() 3091 3092 # Save a copy of the object, so that the garbage 3093 # collector won't kill the object while it's in 3094 # SWIG-land 3095 self.__dict__.setdefault("_members",{})[name] = value 3096 3097 return _set_instance_attr(self, name, value) 3098 3099 3100 def __init__(self): 3101 """__init__(svn_opt_subcommand_desc3_t self) -> svn_opt_subcommand_desc3_t""" 3102 this = _core.new_svn_opt_subcommand_desc3_t() 3103 try: 3104 self.this.append(this) 3105 except __builtin__.Exception: 3106 self.this = this 3107 __swig_destroy__ = _core.delete_svn_opt_subcommand_desc3_t 3108 __del__ = lambda self: None 3109svn_opt_subcommand_desc3_t_swigregister = _core.svn_opt_subcommand_desc3_t_swigregister 3110svn_opt_subcommand_desc3_t_swigregister(svn_opt_subcommand_desc3_t) 3111 3112class svn_opt_subcommand_desc3_t_desc_overrides(object): 3113 """Proxy of C svn_opt_subcommand_desc3_t_desc_overrides struct.""" 3114 3115 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3116 __repr__ = _swig_repr 3117 optch = _swig_property(_core.svn_opt_subcommand_desc3_t_desc_overrides_optch_get, _core.svn_opt_subcommand_desc3_t_desc_overrides_optch_set) 3118 desc = _swig_property(_core.svn_opt_subcommand_desc3_t_desc_overrides_desc_get, _core.svn_opt_subcommand_desc3_t_desc_overrides_desc_set) 3119 3120 def __init__(self): 3121 """__init__(svn_opt_subcommand_desc3_t_desc_overrides self) -> svn_opt_subcommand_desc3_t_desc_overrides""" 3122 this = _core.new_svn_opt_subcommand_desc3_t_desc_overrides() 3123 try: 3124 self.this.append(this) 3125 except __builtin__.Exception: 3126 self.this = this 3127 __swig_destroy__ = _core.delete_svn_opt_subcommand_desc3_t_desc_overrides 3128 __del__ = lambda self: None 3129svn_opt_subcommand_desc3_t_desc_overrides_swigregister = _core.svn_opt_subcommand_desc3_t_desc_overrides_swigregister 3130svn_opt_subcommand_desc3_t_desc_overrides_swigregister(svn_opt_subcommand_desc3_t_desc_overrides) 3131 3132class svn_opt_subcommand_desc2_t(object): 3133 """Proxy of C svn_opt_subcommand_desc2_t struct.""" 3134 3135 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3136 __repr__ = _swig_repr 3137 name = _swig_property(_core.svn_opt_subcommand_desc2_t_name_get, _core.svn_opt_subcommand_desc2_t_name_set) 3138 cmd_func = _swig_property(_core.svn_opt_subcommand_desc2_t_cmd_func_get, _core.svn_opt_subcommand_desc2_t_cmd_func_set) 3139 aliases = _swig_property(_core.svn_opt_subcommand_desc2_t_aliases_get, _core.svn_opt_subcommand_desc2_t_aliases_set) 3140 help = _swig_property(_core.svn_opt_subcommand_desc2_t_help_get, _core.svn_opt_subcommand_desc2_t_help_set) 3141 valid_options = _swig_property(_core.svn_opt_subcommand_desc2_t_valid_options_get, _core.svn_opt_subcommand_desc2_t_valid_options_set) 3142 desc_overrides = _swig_property(_core.svn_opt_subcommand_desc2_t_desc_overrides_get) 3143 def set_parent_pool(self, parent_pool=None): 3144 """Create a new proxy object for TYPE""" 3145 import libsvn.core, weakref 3146 self.__dict__["_parent_pool"] = \ 3147 parent_pool or libsvn.core.application_pool; 3148 if self.__dict__["_parent_pool"]: 3149 self.__dict__["_is_valid"] = weakref.ref( 3150 self.__dict__["_parent_pool"]._is_valid) 3151 3152 def assert_valid(self): 3153 """Assert that this object is using valid pool memory""" 3154 if "_is_valid" in self.__dict__: 3155 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3156 3157 def _retrieve_swig_value(self, name, value): 3158 # If we got back a different object than we have cached, we need to copy 3159 # all our metadata into it, so that it looks identical to the one 3160 # originally set. 3161 members = self.__dict__.get('_members') 3162 if members is not None and name in members: 3163 _copy_metadata_deep(value, members[name]) 3164 3165 # Verify that the new object is good 3166 _assert_valid_deep(value) 3167 3168 return value 3169 3170 # Attribute access must be intercepted to ensure that objects coming from 3171 # read attribute access match those that are set with write attribute access. 3172 # Specifically the metadata, such as the associated apr_pool object, should 3173 # match the originally assigned object. 3174 # 3175 # For classic classes it is enough to use __getattr__ to intercept swig 3176 # derived attributes. However, with new style classes SWIG makes use of 3177 # descriptors which mean that __getattr__ is never called. Therefore, 3178 # __getattribute__ must be used for the interception. 3179 3180 if _newclass: 3181 def __getattribute__(self, name): 3182 """Manage access to all attributes of this object.""" 3183 3184 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3185 # items directly present in __dict__ 3186 mydict = object.__getattribute__(self, '__dict__') 3187 3188 if name == "__dict__": 3189 return mydict 3190 3191 if name in mydict: 3192 return mydict[name] 3193 3194 object.__getattribute__(self, 'assert_valid')() 3195 3196 value = _get_instance_attr(self, name) 3197 fn = object.__getattribute__(self, '_retrieve_swig_value') 3198 return fn(name, value) 3199 else: 3200 def __getattr__(self, name): 3201 """Get an attribute from this object""" 3202 self.assert_valid() 3203 3204 value = _swig_getattr(self, self.__class__, name) 3205 3206 return self._retrieve_swig_value(name, value) 3207 3208 def __setattr__(self, name, value): 3209 """Set an attribute on this object""" 3210 self.assert_valid() 3211 3212 # Save a copy of the object, so that the garbage 3213 # collector won't kill the object while it's in 3214 # SWIG-land 3215 self.__dict__.setdefault("_members",{})[name] = value 3216 3217 return _set_instance_attr(self, name, value) 3218 3219 3220 def __init__(self): 3221 """__init__(svn_opt_subcommand_desc2_t self) -> svn_opt_subcommand_desc2_t""" 3222 this = _core.new_svn_opt_subcommand_desc2_t() 3223 try: 3224 self.this.append(this) 3225 except __builtin__.Exception: 3226 self.this = this 3227 __swig_destroy__ = _core.delete_svn_opt_subcommand_desc2_t 3228 __del__ = lambda self: None 3229svn_opt_subcommand_desc2_t_swigregister = _core.svn_opt_subcommand_desc2_t_swigregister 3230svn_opt_subcommand_desc2_t_swigregister(svn_opt_subcommand_desc2_t) 3231 3232class svn_opt_subcommand_desc2_t_desc_overrides(object): 3233 """Proxy of C svn_opt_subcommand_desc2_t_desc_overrides struct.""" 3234 3235 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3236 __repr__ = _swig_repr 3237 optch = _swig_property(_core.svn_opt_subcommand_desc2_t_desc_overrides_optch_get, _core.svn_opt_subcommand_desc2_t_desc_overrides_optch_set) 3238 desc = _swig_property(_core.svn_opt_subcommand_desc2_t_desc_overrides_desc_get, _core.svn_opt_subcommand_desc2_t_desc_overrides_desc_set) 3239 3240 def __init__(self): 3241 """__init__(svn_opt_subcommand_desc2_t_desc_overrides self) -> svn_opt_subcommand_desc2_t_desc_overrides""" 3242 this = _core.new_svn_opt_subcommand_desc2_t_desc_overrides() 3243 try: 3244 self.this.append(this) 3245 except __builtin__.Exception: 3246 self.this = this 3247 __swig_destroy__ = _core.delete_svn_opt_subcommand_desc2_t_desc_overrides 3248 __del__ = lambda self: None 3249svn_opt_subcommand_desc2_t_desc_overrides_swigregister = _core.svn_opt_subcommand_desc2_t_desc_overrides_swigregister 3250svn_opt_subcommand_desc2_t_desc_overrides_swigregister(svn_opt_subcommand_desc2_t_desc_overrides) 3251 3252class svn_opt_subcommand_desc_t(object): 3253 """Proxy of C svn_opt_subcommand_desc_t struct.""" 3254 3255 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3256 __repr__ = _swig_repr 3257 name = _swig_property(_core.svn_opt_subcommand_desc_t_name_get, _core.svn_opt_subcommand_desc_t_name_set) 3258 cmd_func = _swig_property(_core.svn_opt_subcommand_desc_t_cmd_func_get, _core.svn_opt_subcommand_desc_t_cmd_func_set) 3259 aliases = _swig_property(_core.svn_opt_subcommand_desc_t_aliases_get, _core.svn_opt_subcommand_desc_t_aliases_set) 3260 help = _swig_property(_core.svn_opt_subcommand_desc_t_help_get, _core.svn_opt_subcommand_desc_t_help_set) 3261 valid_options = _swig_property(_core.svn_opt_subcommand_desc_t_valid_options_get, _core.svn_opt_subcommand_desc_t_valid_options_set) 3262 def set_parent_pool(self, parent_pool=None): 3263 """Create a new proxy object for TYPE""" 3264 import libsvn.core, weakref 3265 self.__dict__["_parent_pool"] = \ 3266 parent_pool or libsvn.core.application_pool; 3267 if self.__dict__["_parent_pool"]: 3268 self.__dict__["_is_valid"] = weakref.ref( 3269 self.__dict__["_parent_pool"]._is_valid) 3270 3271 def assert_valid(self): 3272 """Assert that this object is using valid pool memory""" 3273 if "_is_valid" in self.__dict__: 3274 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3275 3276 def _retrieve_swig_value(self, name, value): 3277 # If we got back a different object than we have cached, we need to copy 3278 # all our metadata into it, so that it looks identical to the one 3279 # originally set. 3280 members = self.__dict__.get('_members') 3281 if members is not None and name in members: 3282 _copy_metadata_deep(value, members[name]) 3283 3284 # Verify that the new object is good 3285 _assert_valid_deep(value) 3286 3287 return value 3288 3289 # Attribute access must be intercepted to ensure that objects coming from 3290 # read attribute access match those that are set with write attribute access. 3291 # Specifically the metadata, such as the associated apr_pool object, should 3292 # match the originally assigned object. 3293 # 3294 # For classic classes it is enough to use __getattr__ to intercept swig 3295 # derived attributes. However, with new style classes SWIG makes use of 3296 # descriptors which mean that __getattr__ is never called. Therefore, 3297 # __getattribute__ must be used for the interception. 3298 3299 if _newclass: 3300 def __getattribute__(self, name): 3301 """Manage access to all attributes of this object.""" 3302 3303 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3304 # items directly present in __dict__ 3305 mydict = object.__getattribute__(self, '__dict__') 3306 3307 if name == "__dict__": 3308 return mydict 3309 3310 if name in mydict: 3311 return mydict[name] 3312 3313 object.__getattribute__(self, 'assert_valid')() 3314 3315 value = _get_instance_attr(self, name) 3316 fn = object.__getattribute__(self, '_retrieve_swig_value') 3317 return fn(name, value) 3318 else: 3319 def __getattr__(self, name): 3320 """Get an attribute from this object""" 3321 self.assert_valid() 3322 3323 value = _swig_getattr(self, self.__class__, name) 3324 3325 return self._retrieve_swig_value(name, value) 3326 3327 def __setattr__(self, name, value): 3328 """Set an attribute on this object""" 3329 self.assert_valid() 3330 3331 # Save a copy of the object, so that the garbage 3332 # collector won't kill the object while it's in 3333 # SWIG-land 3334 self.__dict__.setdefault("_members",{})[name] = value 3335 3336 return _set_instance_attr(self, name, value) 3337 3338 3339 def __init__(self): 3340 """__init__(svn_opt_subcommand_desc_t self) -> svn_opt_subcommand_desc_t""" 3341 this = _core.new_svn_opt_subcommand_desc_t() 3342 try: 3343 self.this.append(this) 3344 except __builtin__.Exception: 3345 self.this = this 3346 __swig_destroy__ = _core.delete_svn_opt_subcommand_desc_t 3347 __del__ = lambda self: None 3348svn_opt_subcommand_desc_t_swigregister = _core.svn_opt_subcommand_desc_t_swigregister 3349svn_opt_subcommand_desc_t_swigregister(svn_opt_subcommand_desc_t) 3350 3351 3352def svn_opt_get_canonical_subcommand3(table: 'svn_opt_subcommand_desc3_t', cmd_name: 'char const *') -> "svn_opt_subcommand_desc3_t const *": 3353 """svn_opt_get_canonical_subcommand3(svn_opt_subcommand_desc3_t table, char const * cmd_name) -> svn_opt_subcommand_desc3_t""" 3354 return _core.svn_opt_get_canonical_subcommand3(table, cmd_name) 3355 3356def svn_opt_get_canonical_subcommand2(table: 'svn_opt_subcommand_desc2_t', cmd_name: 'char const *') -> "svn_opt_subcommand_desc2_t const *": 3357 """svn_opt_get_canonical_subcommand2(svn_opt_subcommand_desc2_t table, char const * cmd_name) -> svn_opt_subcommand_desc2_t""" 3358 return _core.svn_opt_get_canonical_subcommand2(table, cmd_name) 3359 3360def svn_opt_get_canonical_subcommand(table: 'svn_opt_subcommand_desc_t', cmd_name: 'char const *') -> "svn_opt_subcommand_desc_t const *": 3361 """svn_opt_get_canonical_subcommand(svn_opt_subcommand_desc_t table, char const * cmd_name) -> svn_opt_subcommand_desc_t""" 3362 return _core.svn_opt_get_canonical_subcommand(table, cmd_name) 3363 3364def svn_opt_get_option_from_code3(*args) -> "apr_getopt_option_t const *": 3365 """svn_opt_get_option_from_code3(int code, apr_getopt_option_t const * option_table, svn_opt_subcommand_desc3_t command, apr_pool_t pool) -> apr_getopt_option_t const *""" 3366 return _core.svn_opt_get_option_from_code3(*args) 3367 3368def svn_opt_get_option_from_code2(*args) -> "apr_getopt_option_t const *": 3369 """svn_opt_get_option_from_code2(int code, apr_getopt_option_t const * option_table, svn_opt_subcommand_desc2_t command, apr_pool_t pool) -> apr_getopt_option_t const *""" 3370 return _core.svn_opt_get_option_from_code2(*args) 3371 3372def svn_opt_get_option_from_code(code: 'int', option_table: 'apr_getopt_option_t const *') -> "apr_getopt_option_t const *": 3373 """svn_opt_get_option_from_code(int code, apr_getopt_option_t const * option_table) -> apr_getopt_option_t const *""" 3374 return _core.svn_opt_get_option_from_code(code, option_table) 3375 3376def svn_opt_subcommand_takes_option4(command: 'svn_opt_subcommand_desc3_t', option_code: 'int') -> "int *": 3377 """svn_opt_subcommand_takes_option4(svn_opt_subcommand_desc3_t command, int option_code) -> svn_boolean_t""" 3378 return _core.svn_opt_subcommand_takes_option4(command, option_code) 3379 3380def svn_opt_subcommand_takes_option3(command: 'svn_opt_subcommand_desc2_t', option_code: 'int') -> "int *": 3381 """svn_opt_subcommand_takes_option3(svn_opt_subcommand_desc2_t command, int option_code) -> svn_boolean_t""" 3382 return _core.svn_opt_subcommand_takes_option3(command, option_code) 3383 3384def svn_opt_subcommand_takes_option2(command: 'svn_opt_subcommand_desc2_t', option_code: 'int') -> "svn_boolean_t": 3385 """svn_opt_subcommand_takes_option2(svn_opt_subcommand_desc2_t command, int option_code) -> svn_boolean_t""" 3386 return _core.svn_opt_subcommand_takes_option2(command, option_code) 3387 3388def svn_opt_subcommand_takes_option(command: 'svn_opt_subcommand_desc_t', option_code: 'int') -> "svn_boolean_t": 3389 """svn_opt_subcommand_takes_option(svn_opt_subcommand_desc_t command, int option_code) -> svn_boolean_t""" 3390 return _core.svn_opt_subcommand_takes_option(command, option_code) 3391 3392def svn_opt_print_generic_help3(*args) -> "void": 3393 """svn_opt_print_generic_help3(char const * header, svn_opt_subcommand_desc3_t cmd_table, apr_getopt_option_t const * opt_table, char const * footer, apr_pool_t pool, FILE * stream)""" 3394 return _core.svn_opt_print_generic_help3(*args) 3395 3396def svn_opt_print_generic_help2(*args) -> "void": 3397 """svn_opt_print_generic_help2(char const * header, svn_opt_subcommand_desc2_t cmd_table, apr_getopt_option_t const * opt_table, char const * footer, apr_pool_t pool, FILE * stream)""" 3398 return _core.svn_opt_print_generic_help2(*args) 3399 3400def svn_opt_format_option(*args) -> "char const **": 3401 """svn_opt_format_option(apr_getopt_option_t const * opt, svn_boolean_t doc, apr_pool_t pool)""" 3402 return _core.svn_opt_format_option(*args) 3403 3404def svn_opt_subcommand_help4(*args) -> "int *": 3405 """svn_opt_subcommand_help4(char const * subcommand, svn_opt_subcommand_desc3_t table, apr_getopt_option_t const * options_table, apr_pool_t pool)""" 3406 return _core.svn_opt_subcommand_help4(*args) 3407 3408def svn_opt_subcommand_help3(*args) -> "int *": 3409 """svn_opt_subcommand_help3(char const * subcommand, svn_opt_subcommand_desc2_t table, apr_getopt_option_t const * options_table, apr_pool_t pool)""" 3410 return _core.svn_opt_subcommand_help3(*args) 3411 3412def svn_opt_subcommand_help2(*args) -> "void": 3413 """svn_opt_subcommand_help2(char const * subcommand, svn_opt_subcommand_desc2_t table, apr_getopt_option_t const * options_table, apr_pool_t pool)""" 3414 return _core.svn_opt_subcommand_help2(*args) 3415 3416def svn_opt_subcommand_help(*args) -> "void": 3417 """svn_opt_subcommand_help(char const * subcommand, svn_opt_subcommand_desc_t table, apr_getopt_option_t const * options_table, apr_pool_t pool)""" 3418 return _core.svn_opt_subcommand_help(*args) 3419class svn_opt_revision_value_t(object): 3420 """Proxy of C svn_opt_revision_value_t struct.""" 3421 3422 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3423 __repr__ = _swig_repr 3424 number = _swig_property(_core.svn_opt_revision_value_t_number_get, _core.svn_opt_revision_value_t_number_set) 3425 date = _swig_property(_core.svn_opt_revision_value_t_date_get, _core.svn_opt_revision_value_t_date_set) 3426 def set_parent_pool(self, parent_pool=None): 3427 """Create a new proxy object for TYPE""" 3428 import libsvn.core, weakref 3429 self.__dict__["_parent_pool"] = \ 3430 parent_pool or libsvn.core.application_pool; 3431 if self.__dict__["_parent_pool"]: 3432 self.__dict__["_is_valid"] = weakref.ref( 3433 self.__dict__["_parent_pool"]._is_valid) 3434 3435 def assert_valid(self): 3436 """Assert that this object is using valid pool memory""" 3437 if "_is_valid" in self.__dict__: 3438 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3439 3440 def _retrieve_swig_value(self, name, value): 3441 # If we got back a different object than we have cached, we need to copy 3442 # all our metadata into it, so that it looks identical to the one 3443 # originally set. 3444 members = self.__dict__.get('_members') 3445 if members is not None and name in members: 3446 _copy_metadata_deep(value, members[name]) 3447 3448 # Verify that the new object is good 3449 _assert_valid_deep(value) 3450 3451 return value 3452 3453 # Attribute access must be intercepted to ensure that objects coming from 3454 # read attribute access match those that are set with write attribute access. 3455 # Specifically the metadata, such as the associated apr_pool object, should 3456 # match the originally assigned object. 3457 # 3458 # For classic classes it is enough to use __getattr__ to intercept swig 3459 # derived attributes. However, with new style classes SWIG makes use of 3460 # descriptors which mean that __getattr__ is never called. Therefore, 3461 # __getattribute__ must be used for the interception. 3462 3463 if _newclass: 3464 def __getattribute__(self, name): 3465 """Manage access to all attributes of this object.""" 3466 3467 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3468 # items directly present in __dict__ 3469 mydict = object.__getattribute__(self, '__dict__') 3470 3471 if name == "__dict__": 3472 return mydict 3473 3474 if name in mydict: 3475 return mydict[name] 3476 3477 object.__getattribute__(self, 'assert_valid')() 3478 3479 value = _get_instance_attr(self, name) 3480 fn = object.__getattribute__(self, '_retrieve_swig_value') 3481 return fn(name, value) 3482 else: 3483 def __getattr__(self, name): 3484 """Get an attribute from this object""" 3485 self.assert_valid() 3486 3487 value = _swig_getattr(self, self.__class__, name) 3488 3489 return self._retrieve_swig_value(name, value) 3490 3491 def __setattr__(self, name, value): 3492 """Set an attribute on this object""" 3493 self.assert_valid() 3494 3495 # Save a copy of the object, so that the garbage 3496 # collector won't kill the object while it's in 3497 # SWIG-land 3498 self.__dict__.setdefault("_members",{})[name] = value 3499 3500 return _set_instance_attr(self, name, value) 3501 3502 3503 def __init__(self): 3504 """__init__(svn_opt_revision_value_t self) -> svn_opt_revision_value_t""" 3505 this = _core.new_svn_opt_revision_value_t() 3506 try: 3507 self.this.append(this) 3508 except __builtin__.Exception: 3509 self.this = this 3510 __swig_destroy__ = _core.delete_svn_opt_revision_value_t 3511 __del__ = lambda self: None 3512svn_opt_revision_value_t_swigregister = _core.svn_opt_revision_value_t_swigregister 3513svn_opt_revision_value_t_swigregister(svn_opt_revision_value_t) 3514 3515class svn_opt_revision_t(object): 3516 """Proxy of C svn_opt_revision_t struct.""" 3517 3518 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3519 __repr__ = _swig_repr 3520 kind = _swig_property(_core.svn_opt_revision_t_kind_get, _core.svn_opt_revision_t_kind_set) 3521 value = _swig_property(_core.svn_opt_revision_t_value_get, _core.svn_opt_revision_t_value_set) 3522 def set_parent_pool(self, parent_pool=None): 3523 """Create a new proxy object for TYPE""" 3524 import libsvn.core, weakref 3525 self.__dict__["_parent_pool"] = \ 3526 parent_pool or libsvn.core.application_pool; 3527 if self.__dict__["_parent_pool"]: 3528 self.__dict__["_is_valid"] = weakref.ref( 3529 self.__dict__["_parent_pool"]._is_valid) 3530 3531 def assert_valid(self): 3532 """Assert that this object is using valid pool memory""" 3533 if "_is_valid" in self.__dict__: 3534 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3535 3536 def _retrieve_swig_value(self, name, value): 3537 # If we got back a different object than we have cached, we need to copy 3538 # all our metadata into it, so that it looks identical to the one 3539 # originally set. 3540 members = self.__dict__.get('_members') 3541 if members is not None and name in members: 3542 _copy_metadata_deep(value, members[name]) 3543 3544 # Verify that the new object is good 3545 _assert_valid_deep(value) 3546 3547 return value 3548 3549 # Attribute access must be intercepted to ensure that objects coming from 3550 # read attribute access match those that are set with write attribute access. 3551 # Specifically the metadata, such as the associated apr_pool object, should 3552 # match the originally assigned object. 3553 # 3554 # For classic classes it is enough to use __getattr__ to intercept swig 3555 # derived attributes. However, with new style classes SWIG makes use of 3556 # descriptors which mean that __getattr__ is never called. Therefore, 3557 # __getattribute__ must be used for the interception. 3558 3559 if _newclass: 3560 def __getattribute__(self, name): 3561 """Manage access to all attributes of this object.""" 3562 3563 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3564 # items directly present in __dict__ 3565 mydict = object.__getattribute__(self, '__dict__') 3566 3567 if name == "__dict__": 3568 return mydict 3569 3570 if name in mydict: 3571 return mydict[name] 3572 3573 object.__getattribute__(self, 'assert_valid')() 3574 3575 value = _get_instance_attr(self, name) 3576 fn = object.__getattribute__(self, '_retrieve_swig_value') 3577 return fn(name, value) 3578 else: 3579 def __getattr__(self, name): 3580 """Get an attribute from this object""" 3581 self.assert_valid() 3582 3583 value = _swig_getattr(self, self.__class__, name) 3584 3585 return self._retrieve_swig_value(name, value) 3586 3587 def __setattr__(self, name, value): 3588 """Set an attribute on this object""" 3589 self.assert_valid() 3590 3591 # Save a copy of the object, so that the garbage 3592 # collector won't kill the object while it's in 3593 # SWIG-land 3594 self.__dict__.setdefault("_members",{})[name] = value 3595 3596 return _set_instance_attr(self, name, value) 3597 3598 3599 def __init__(self): 3600 """__init__(svn_opt_revision_t self) -> svn_opt_revision_t""" 3601 this = _core.new_svn_opt_revision_t() 3602 try: 3603 self.this.append(this) 3604 except __builtin__.Exception: 3605 self.this = this 3606 __swig_destroy__ = _core.delete_svn_opt_revision_t 3607 __del__ = lambda self: None 3608svn_opt_revision_t_swigregister = _core.svn_opt_revision_t_swigregister 3609svn_opt_revision_t_swigregister(svn_opt_revision_t) 3610 3611class svn_opt_revision_range_t(object): 3612 """Proxy of C svn_opt_revision_range_t struct.""" 3613 3614 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3615 __repr__ = _swig_repr 3616 start = _swig_property(_core.svn_opt_revision_range_t_start_get, _core.svn_opt_revision_range_t_start_set) 3617 end = _swig_property(_core.svn_opt_revision_range_t_end_get, _core.svn_opt_revision_range_t_end_set) 3618 def set_parent_pool(self, parent_pool=None): 3619 """Create a new proxy object for TYPE""" 3620 import libsvn.core, weakref 3621 self.__dict__["_parent_pool"] = \ 3622 parent_pool or libsvn.core.application_pool; 3623 if self.__dict__["_parent_pool"]: 3624 self.__dict__["_is_valid"] = weakref.ref( 3625 self.__dict__["_parent_pool"]._is_valid) 3626 3627 def assert_valid(self): 3628 """Assert that this object is using valid pool memory""" 3629 if "_is_valid" in self.__dict__: 3630 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3631 3632 def _retrieve_swig_value(self, name, value): 3633 # If we got back a different object than we have cached, we need to copy 3634 # all our metadata into it, so that it looks identical to the one 3635 # originally set. 3636 members = self.__dict__.get('_members') 3637 if members is not None and name in members: 3638 _copy_metadata_deep(value, members[name]) 3639 3640 # Verify that the new object is good 3641 _assert_valid_deep(value) 3642 3643 return value 3644 3645 # Attribute access must be intercepted to ensure that objects coming from 3646 # read attribute access match those that are set with write attribute access. 3647 # Specifically the metadata, such as the associated apr_pool object, should 3648 # match the originally assigned object. 3649 # 3650 # For classic classes it is enough to use __getattr__ to intercept swig 3651 # derived attributes. However, with new style classes SWIG makes use of 3652 # descriptors which mean that __getattr__ is never called. Therefore, 3653 # __getattribute__ must be used for the interception. 3654 3655 if _newclass: 3656 def __getattribute__(self, name): 3657 """Manage access to all attributes of this object.""" 3658 3659 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3660 # items directly present in __dict__ 3661 mydict = object.__getattribute__(self, '__dict__') 3662 3663 if name == "__dict__": 3664 return mydict 3665 3666 if name in mydict: 3667 return mydict[name] 3668 3669 object.__getattribute__(self, 'assert_valid')() 3670 3671 value = _get_instance_attr(self, name) 3672 fn = object.__getattribute__(self, '_retrieve_swig_value') 3673 return fn(name, value) 3674 else: 3675 def __getattr__(self, name): 3676 """Get an attribute from this object""" 3677 self.assert_valid() 3678 3679 value = _swig_getattr(self, self.__class__, name) 3680 3681 return self._retrieve_swig_value(name, value) 3682 3683 def __setattr__(self, name, value): 3684 """Set an attribute on this object""" 3685 self.assert_valid() 3686 3687 # Save a copy of the object, so that the garbage 3688 # collector won't kill the object while it's in 3689 # SWIG-land 3690 self.__dict__.setdefault("_members",{})[name] = value 3691 3692 return _set_instance_attr(self, name, value) 3693 3694 3695 def __init__(self): 3696 """__init__(svn_opt_revision_range_t self) -> svn_opt_revision_range_t""" 3697 this = _core.new_svn_opt_revision_range_t() 3698 try: 3699 self.this.append(this) 3700 except __builtin__.Exception: 3701 self.this = this 3702 __swig_destroy__ = _core.delete_svn_opt_revision_range_t 3703 __del__ = lambda self: None 3704svn_opt_revision_range_t_swigregister = _core.svn_opt_revision_range_t_swigregister 3705svn_opt_revision_range_t_swigregister(svn_opt_revision_range_t) 3706 3707 3708def svn_opt_parse_revision(*args) -> "int": 3709 """svn_opt_parse_revision(svn_opt_revision_t start_revision, svn_opt_revision_t end_revision, char const * arg, apr_pool_t pool) -> int""" 3710 return _core.svn_opt_parse_revision(*args) 3711 3712def svn_opt_parse_revision_to_range(*args) -> "int": 3713 """svn_opt_parse_revision_to_range(apr_array_header_t opt_ranges, char const * arg, apr_pool_t pool) -> int""" 3714 return _core.svn_opt_parse_revision_to_range(*args) 3715 3716def svn_opt_resolve_revisions(*args) -> "svn_error_t *": 3717 """svn_opt_resolve_revisions(svn_opt_revision_t peg_rev, svn_opt_revision_t op_rev, svn_boolean_t is_url, svn_boolean_t notice_local_mods, apr_pool_t pool) -> svn_error_t""" 3718 return _core.svn_opt_resolve_revisions(*args) 3719 3720def svn_opt_args_to_target_array3(*args) -> "apr_array_header_t **": 3721 """svn_opt_args_to_target_array3(apr_getopt_t * os, apr_array_header_t known_targets, apr_pool_t pool) -> svn_error_t""" 3722 return _core.svn_opt_args_to_target_array3(*args) 3723 3724def svn_opt_args_to_target_array2(*args) -> "apr_array_header_t **": 3725 """svn_opt_args_to_target_array2(apr_getopt_t * os, apr_array_header_t known_targets, apr_pool_t pool) -> svn_error_t""" 3726 return _core.svn_opt_args_to_target_array2(*args) 3727 3728def svn_opt_parse_revprop(*args) -> "apr_hash_t **": 3729 """svn_opt_parse_revprop(char const * revprop_spec, apr_pool_t pool) -> svn_error_t""" 3730 return _core.svn_opt_parse_revprop(*args) 3731 3732def svn_opt_push_implicit_dot_target(*args) -> "void": 3733 """svn_opt_push_implicit_dot_target(apr_array_header_t targets, apr_pool_t pool)""" 3734 return _core.svn_opt_push_implicit_dot_target(*args) 3735 3736def svn_opt_parse_num_args(*args) -> "apr_array_header_t **": 3737 """svn_opt_parse_num_args(apr_getopt_t * os, int num_args, apr_pool_t pool) -> svn_error_t""" 3738 return _core.svn_opt_parse_num_args(*args) 3739 3740def svn_opt_parse_all_args(*args) -> "apr_array_header_t **": 3741 """svn_opt_parse_all_args(apr_getopt_t * os, apr_pool_t pool) -> svn_error_t""" 3742 return _core.svn_opt_parse_all_args(*args) 3743 3744def svn_opt_parse_path(*args) -> "char const **": 3745 """svn_opt_parse_path(svn_opt_revision_t rev, char const * path, apr_pool_t pool) -> svn_error_t""" 3746 return _core.svn_opt_parse_path(*args) 3747 3748def svn_opt_print_help5(*args) -> "int *": 3749 """svn_opt_print_help5(apr_getopt_t * os, char const * pgm_name, svn_boolean_t print_version, svn_boolean_t quiet, svn_boolean_t verbose, char const * version_footer, char const * header, svn_opt_subcommand_desc3_t cmd_table, apr_getopt_option_t const * option_table, char const * footer, apr_pool_t pool) -> svn_error_t""" 3750 return _core.svn_opt_print_help5(*args) 3751 3752def svn_opt_print_help4(*args) -> "int *": 3753 """svn_opt_print_help4(apr_getopt_t * os, char const * pgm_name, svn_boolean_t print_version, svn_boolean_t quiet, svn_boolean_t verbose, char const * version_footer, char const * header, svn_opt_subcommand_desc2_t cmd_table, apr_getopt_option_t const * option_table, char const * footer, apr_pool_t pool) -> svn_error_t""" 3754 return _core.svn_opt_print_help4(*args) 3755 3756def svn_opt_print_help3(*args) -> "int *": 3757 """svn_opt_print_help3(apr_getopt_t * os, char const * pgm_name, svn_boolean_t print_version, svn_boolean_t quiet, char const * version_footer, char const * header, svn_opt_subcommand_desc2_t cmd_table, apr_getopt_option_t const * option_table, char const * footer, apr_pool_t pool) -> svn_error_t""" 3758 return _core.svn_opt_print_help3(*args) 3759 3760def svn_opt_print_help2(*args) -> "svn_error_t *": 3761 """svn_opt_print_help2(apr_getopt_t * os, char const * pgm_name, svn_boolean_t print_version, svn_boolean_t quiet, char const * version_footer, char const * header, svn_opt_subcommand_desc2_t cmd_table, apr_getopt_option_t const * option_table, char const * footer, apr_pool_t pool) -> svn_error_t""" 3762 return _core.svn_opt_print_help2(*args) 3763 3764def svn_opt_print_help(*args) -> "svn_error_t *": 3765 """svn_opt_print_help(apr_getopt_t * os, char const * pgm_name, svn_boolean_t print_version, svn_boolean_t quiet, char const * version_footer, char const * header, svn_opt_subcommand_desc_t cmd_table, apr_getopt_option_t const * option_table, char const * footer, apr_pool_t pool) -> svn_error_t""" 3766 return _core.svn_opt_print_help(*args) 3767 3768def svn_cmdline_init(progname: 'char const *', error_stream: 'FILE *') -> "int": 3769 """svn_cmdline_init(char const * progname, FILE * error_stream) -> int""" 3770 return _core.svn_cmdline_init(progname, error_stream) 3771 3772def svn_cmdline_create_auth_baton2(*args) -> "svn_auth_baton_t **": 3773 """svn_cmdline_create_auth_baton2(svn_boolean_t non_interactive, char const * username, char const * password, char const * config_dir, svn_boolean_t no_auth_cache, svn_boolean_t trust_server_cert_unknown_ca, svn_boolean_t trust_server_cert_cn_mismatch, svn_boolean_t trust_server_cert_expired, svn_boolean_t trust_server_cert_not_yet_valid, svn_boolean_t trust_server_cert_other_failure, svn_config_t * cfg, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t""" 3774 return _core.svn_cmdline_create_auth_baton2(*args) 3775 3776def svn_cmdline_create_auth_baton(*args) -> "svn_auth_baton_t **": 3777 """svn_cmdline_create_auth_baton(svn_boolean_t non_interactive, char const * username, char const * password, char const * config_dir, svn_boolean_t no_auth_cache, svn_boolean_t trust_server_cert, svn_config_t * cfg, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t""" 3778 return _core.svn_cmdline_create_auth_baton(*args) 3779class svn_auth_provider_t(object): 3780 """Proxy of C svn_auth_provider_t struct.""" 3781 3782 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3783 __repr__ = _swig_repr 3784 cred_kind = _swig_property(_core.svn_auth_provider_t_cred_kind_get, _core.svn_auth_provider_t_cred_kind_set) 3785 first_credentials = _swig_property(_core.svn_auth_provider_t_first_credentials_get, _core.svn_auth_provider_t_first_credentials_set) 3786 next_credentials = _swig_property(_core.svn_auth_provider_t_next_credentials_get, _core.svn_auth_provider_t_next_credentials_set) 3787 save_credentials = _swig_property(_core.svn_auth_provider_t_save_credentials_get, _core.svn_auth_provider_t_save_credentials_set) 3788 def set_parent_pool(self, parent_pool=None): 3789 """Create a new proxy object for TYPE""" 3790 import libsvn.core, weakref 3791 self.__dict__["_parent_pool"] = \ 3792 parent_pool or libsvn.core.application_pool; 3793 if self.__dict__["_parent_pool"]: 3794 self.__dict__["_is_valid"] = weakref.ref( 3795 self.__dict__["_parent_pool"]._is_valid) 3796 3797 def assert_valid(self): 3798 """Assert that this object is using valid pool memory""" 3799 if "_is_valid" in self.__dict__: 3800 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3801 3802 def _retrieve_swig_value(self, name, value): 3803 # If we got back a different object than we have cached, we need to copy 3804 # all our metadata into it, so that it looks identical to the one 3805 # originally set. 3806 members = self.__dict__.get('_members') 3807 if members is not None and name in members: 3808 _copy_metadata_deep(value, members[name]) 3809 3810 # Verify that the new object is good 3811 _assert_valid_deep(value) 3812 3813 return value 3814 3815 # Attribute access must be intercepted to ensure that objects coming from 3816 # read attribute access match those that are set with write attribute access. 3817 # Specifically the metadata, such as the associated apr_pool object, should 3818 # match the originally assigned object. 3819 # 3820 # For classic classes it is enough to use __getattr__ to intercept swig 3821 # derived attributes. However, with new style classes SWIG makes use of 3822 # descriptors which mean that __getattr__ is never called. Therefore, 3823 # __getattribute__ must be used for the interception. 3824 3825 if _newclass: 3826 def __getattribute__(self, name): 3827 """Manage access to all attributes of this object.""" 3828 3829 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3830 # items directly present in __dict__ 3831 mydict = object.__getattribute__(self, '__dict__') 3832 3833 if name == "__dict__": 3834 return mydict 3835 3836 if name in mydict: 3837 return mydict[name] 3838 3839 object.__getattribute__(self, 'assert_valid')() 3840 3841 value = _get_instance_attr(self, name) 3842 fn = object.__getattribute__(self, '_retrieve_swig_value') 3843 return fn(name, value) 3844 else: 3845 def __getattr__(self, name): 3846 """Get an attribute from this object""" 3847 self.assert_valid() 3848 3849 value = _swig_getattr(self, self.__class__, name) 3850 3851 return self._retrieve_swig_value(name, value) 3852 3853 def __setattr__(self, name, value): 3854 """Set an attribute on this object""" 3855 self.assert_valid() 3856 3857 # Save a copy of the object, so that the garbage 3858 # collector won't kill the object while it's in 3859 # SWIG-land 3860 self.__dict__.setdefault("_members",{})[name] = value 3861 3862 return _set_instance_attr(self, name, value) 3863 3864 3865 def first_credentials(self, *args): 3866 return svn_auth_provider_invoke_first_credentials(self, *args) 3867 3868 3869 def next_credentials(self, *args): 3870 return svn_auth_provider_invoke_next_credentials(self, *args) 3871 3872 3873 def save_credentials(self, *args): 3874 return svn_auth_provider_invoke_save_credentials(self, *args) 3875 3876 3877 def __init__(self): 3878 """__init__(svn_auth_provider_t self) -> svn_auth_provider_t""" 3879 this = _core.new_svn_auth_provider_t() 3880 try: 3881 self.this.append(this) 3882 except __builtin__.Exception: 3883 self.this = this 3884 __swig_destroy__ = _core.delete_svn_auth_provider_t 3885 __del__ = lambda self: None 3886svn_auth_provider_t_swigregister = _core.svn_auth_provider_t_swigregister 3887svn_auth_provider_t_swigregister(svn_auth_provider_t) 3888 3889class svn_auth_provider_object_t(object): 3890 """Proxy of C svn_auth_provider_object_t struct.""" 3891 3892 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3893 __repr__ = _swig_repr 3894 vtable = _swig_property(_core.svn_auth_provider_object_t_vtable_get, _core.svn_auth_provider_object_t_vtable_set) 3895 provider_baton = _swig_property(_core.svn_auth_provider_object_t_provider_baton_get, _core.svn_auth_provider_object_t_provider_baton_set) 3896 def set_parent_pool(self, parent_pool=None): 3897 """Create a new proxy object for TYPE""" 3898 import libsvn.core, weakref 3899 self.__dict__["_parent_pool"] = \ 3900 parent_pool or libsvn.core.application_pool; 3901 if self.__dict__["_parent_pool"]: 3902 self.__dict__["_is_valid"] = weakref.ref( 3903 self.__dict__["_parent_pool"]._is_valid) 3904 3905 def assert_valid(self): 3906 """Assert that this object is using valid pool memory""" 3907 if "_is_valid" in self.__dict__: 3908 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 3909 3910 def _retrieve_swig_value(self, name, value): 3911 # If we got back a different object than we have cached, we need to copy 3912 # all our metadata into it, so that it looks identical to the one 3913 # originally set. 3914 members = self.__dict__.get('_members') 3915 if members is not None and name in members: 3916 _copy_metadata_deep(value, members[name]) 3917 3918 # Verify that the new object is good 3919 _assert_valid_deep(value) 3920 3921 return value 3922 3923 # Attribute access must be intercepted to ensure that objects coming from 3924 # read attribute access match those that are set with write attribute access. 3925 # Specifically the metadata, such as the associated apr_pool object, should 3926 # match the originally assigned object. 3927 # 3928 # For classic classes it is enough to use __getattr__ to intercept swig 3929 # derived attributes. However, with new style classes SWIG makes use of 3930 # descriptors which mean that __getattr__ is never called. Therefore, 3931 # __getattribute__ must be used for the interception. 3932 3933 if _newclass: 3934 def __getattribute__(self, name): 3935 """Manage access to all attributes of this object.""" 3936 3937 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 3938 # items directly present in __dict__ 3939 mydict = object.__getattribute__(self, '__dict__') 3940 3941 if name == "__dict__": 3942 return mydict 3943 3944 if name in mydict: 3945 return mydict[name] 3946 3947 object.__getattribute__(self, 'assert_valid')() 3948 3949 value = _get_instance_attr(self, name) 3950 fn = object.__getattribute__(self, '_retrieve_swig_value') 3951 return fn(name, value) 3952 else: 3953 def __getattr__(self, name): 3954 """Get an attribute from this object""" 3955 self.assert_valid() 3956 3957 value = _swig_getattr(self, self.__class__, name) 3958 3959 return self._retrieve_swig_value(name, value) 3960 3961 def __setattr__(self, name, value): 3962 """Set an attribute on this object""" 3963 self.assert_valid() 3964 3965 # Save a copy of the object, so that the garbage 3966 # collector won't kill the object while it's in 3967 # SWIG-land 3968 self.__dict__.setdefault("_members",{})[name] = value 3969 3970 return _set_instance_attr(self, name, value) 3971 3972 3973 def __init__(self): 3974 """__init__(svn_auth_provider_object_t self) -> svn_auth_provider_object_t""" 3975 this = _core.new_svn_auth_provider_object_t() 3976 try: 3977 self.this.append(this) 3978 except __builtin__.Exception: 3979 self.this = this 3980 __swig_destroy__ = _core.delete_svn_auth_provider_object_t 3981 __del__ = lambda self: None 3982svn_auth_provider_object_t_swigregister = _core.svn_auth_provider_object_t_swigregister 3983svn_auth_provider_object_t_swigregister(svn_auth_provider_object_t) 3984 3985SVN_AUTH_CRED_SIMPLE = _core.SVN_AUTH_CRED_SIMPLE 3986class svn_auth_cred_simple_t(object): 3987 """Proxy of C svn_auth_cred_simple_t struct.""" 3988 3989 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 3990 __repr__ = _swig_repr 3991 username = _swig_property(_core.svn_auth_cred_simple_t_username_get, _core.svn_auth_cred_simple_t_username_set) 3992 password = _swig_property(_core.svn_auth_cred_simple_t_password_get, _core.svn_auth_cred_simple_t_password_set) 3993 may_save = _swig_property(_core.svn_auth_cred_simple_t_may_save_get, _core.svn_auth_cred_simple_t_may_save_set) 3994 def set_parent_pool(self, parent_pool=None): 3995 """Create a new proxy object for TYPE""" 3996 import libsvn.core, weakref 3997 self.__dict__["_parent_pool"] = \ 3998 parent_pool or libsvn.core.application_pool; 3999 if self.__dict__["_parent_pool"]: 4000 self.__dict__["_is_valid"] = weakref.ref( 4001 self.__dict__["_parent_pool"]._is_valid) 4002 4003 def assert_valid(self): 4004 """Assert that this object is using valid pool memory""" 4005 if "_is_valid" in self.__dict__: 4006 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4007 4008 def _retrieve_swig_value(self, name, value): 4009 # If we got back a different object than we have cached, we need to copy 4010 # all our metadata into it, so that it looks identical to the one 4011 # originally set. 4012 members = self.__dict__.get('_members') 4013 if members is not None and name in members: 4014 _copy_metadata_deep(value, members[name]) 4015 4016 # Verify that the new object is good 4017 _assert_valid_deep(value) 4018 4019 return value 4020 4021 # Attribute access must be intercepted to ensure that objects coming from 4022 # read attribute access match those that are set with write attribute access. 4023 # Specifically the metadata, such as the associated apr_pool object, should 4024 # match the originally assigned object. 4025 # 4026 # For classic classes it is enough to use __getattr__ to intercept swig 4027 # derived attributes. However, with new style classes SWIG makes use of 4028 # descriptors which mean that __getattr__ is never called. Therefore, 4029 # __getattribute__ must be used for the interception. 4030 4031 if _newclass: 4032 def __getattribute__(self, name): 4033 """Manage access to all attributes of this object.""" 4034 4035 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4036 # items directly present in __dict__ 4037 mydict = object.__getattribute__(self, '__dict__') 4038 4039 if name == "__dict__": 4040 return mydict 4041 4042 if name in mydict: 4043 return mydict[name] 4044 4045 object.__getattribute__(self, 'assert_valid')() 4046 4047 value = _get_instance_attr(self, name) 4048 fn = object.__getattribute__(self, '_retrieve_swig_value') 4049 return fn(name, value) 4050 else: 4051 def __getattr__(self, name): 4052 """Get an attribute from this object""" 4053 self.assert_valid() 4054 4055 value = _swig_getattr(self, self.__class__, name) 4056 4057 return self._retrieve_swig_value(name, value) 4058 4059 def __setattr__(self, name, value): 4060 """Set an attribute on this object""" 4061 self.assert_valid() 4062 4063 # Save a copy of the object, so that the garbage 4064 # collector won't kill the object while it's in 4065 # SWIG-land 4066 self.__dict__.setdefault("_members",{})[name] = value 4067 4068 return _set_instance_attr(self, name, value) 4069 4070 4071 def __init__(self): 4072 """__init__(svn_auth_cred_simple_t self) -> svn_auth_cred_simple_t""" 4073 this = _core.new_svn_auth_cred_simple_t() 4074 try: 4075 self.this.append(this) 4076 except __builtin__.Exception: 4077 self.this = this 4078 __swig_destroy__ = _core.delete_svn_auth_cred_simple_t 4079 __del__ = lambda self: None 4080svn_auth_cred_simple_t_swigregister = _core.svn_auth_cred_simple_t_swigregister 4081svn_auth_cred_simple_t_swigregister(svn_auth_cred_simple_t) 4082 4083SVN_AUTH_CRED_USERNAME = _core.SVN_AUTH_CRED_USERNAME 4084class svn_auth_cred_username_t(object): 4085 """Proxy of C svn_auth_cred_username_t struct.""" 4086 4087 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 4088 __repr__ = _swig_repr 4089 username = _swig_property(_core.svn_auth_cred_username_t_username_get, _core.svn_auth_cred_username_t_username_set) 4090 may_save = _swig_property(_core.svn_auth_cred_username_t_may_save_get, _core.svn_auth_cred_username_t_may_save_set) 4091 def set_parent_pool(self, parent_pool=None): 4092 """Create a new proxy object for TYPE""" 4093 import libsvn.core, weakref 4094 self.__dict__["_parent_pool"] = \ 4095 parent_pool or libsvn.core.application_pool; 4096 if self.__dict__["_parent_pool"]: 4097 self.__dict__["_is_valid"] = weakref.ref( 4098 self.__dict__["_parent_pool"]._is_valid) 4099 4100 def assert_valid(self): 4101 """Assert that this object is using valid pool memory""" 4102 if "_is_valid" in self.__dict__: 4103 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4104 4105 def _retrieve_swig_value(self, name, value): 4106 # If we got back a different object than we have cached, we need to copy 4107 # all our metadata into it, so that it looks identical to the one 4108 # originally set. 4109 members = self.__dict__.get('_members') 4110 if members is not None and name in members: 4111 _copy_metadata_deep(value, members[name]) 4112 4113 # Verify that the new object is good 4114 _assert_valid_deep(value) 4115 4116 return value 4117 4118 # Attribute access must be intercepted to ensure that objects coming from 4119 # read attribute access match those that are set with write attribute access. 4120 # Specifically the metadata, such as the associated apr_pool object, should 4121 # match the originally assigned object. 4122 # 4123 # For classic classes it is enough to use __getattr__ to intercept swig 4124 # derived attributes. However, with new style classes SWIG makes use of 4125 # descriptors which mean that __getattr__ is never called. Therefore, 4126 # __getattribute__ must be used for the interception. 4127 4128 if _newclass: 4129 def __getattribute__(self, name): 4130 """Manage access to all attributes of this object.""" 4131 4132 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4133 # items directly present in __dict__ 4134 mydict = object.__getattribute__(self, '__dict__') 4135 4136 if name == "__dict__": 4137 return mydict 4138 4139 if name in mydict: 4140 return mydict[name] 4141 4142 object.__getattribute__(self, 'assert_valid')() 4143 4144 value = _get_instance_attr(self, name) 4145 fn = object.__getattribute__(self, '_retrieve_swig_value') 4146 return fn(name, value) 4147 else: 4148 def __getattr__(self, name): 4149 """Get an attribute from this object""" 4150 self.assert_valid() 4151 4152 value = _swig_getattr(self, self.__class__, name) 4153 4154 return self._retrieve_swig_value(name, value) 4155 4156 def __setattr__(self, name, value): 4157 """Set an attribute on this object""" 4158 self.assert_valid() 4159 4160 # Save a copy of the object, so that the garbage 4161 # collector won't kill the object while it's in 4162 # SWIG-land 4163 self.__dict__.setdefault("_members",{})[name] = value 4164 4165 return _set_instance_attr(self, name, value) 4166 4167 4168 def __init__(self): 4169 """__init__(svn_auth_cred_username_t self) -> svn_auth_cred_username_t""" 4170 this = _core.new_svn_auth_cred_username_t() 4171 try: 4172 self.this.append(this) 4173 except __builtin__.Exception: 4174 self.this = this 4175 __swig_destroy__ = _core.delete_svn_auth_cred_username_t 4176 __del__ = lambda self: None 4177svn_auth_cred_username_t_swigregister = _core.svn_auth_cred_username_t_swigregister 4178svn_auth_cred_username_t_swigregister(svn_auth_cred_username_t) 4179 4180SVN_AUTH_CRED_SSL_CLIENT_CERT = _core.SVN_AUTH_CRED_SSL_CLIENT_CERT 4181class svn_auth_cred_ssl_client_cert_t(object): 4182 """Proxy of C svn_auth_cred_ssl_client_cert_t struct.""" 4183 4184 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 4185 __repr__ = _swig_repr 4186 cert_file = _swig_property(_core.svn_auth_cred_ssl_client_cert_t_cert_file_get, _core.svn_auth_cred_ssl_client_cert_t_cert_file_set) 4187 may_save = _swig_property(_core.svn_auth_cred_ssl_client_cert_t_may_save_get, _core.svn_auth_cred_ssl_client_cert_t_may_save_set) 4188 def set_parent_pool(self, parent_pool=None): 4189 """Create a new proxy object for TYPE""" 4190 import libsvn.core, weakref 4191 self.__dict__["_parent_pool"] = \ 4192 parent_pool or libsvn.core.application_pool; 4193 if self.__dict__["_parent_pool"]: 4194 self.__dict__["_is_valid"] = weakref.ref( 4195 self.__dict__["_parent_pool"]._is_valid) 4196 4197 def assert_valid(self): 4198 """Assert that this object is using valid pool memory""" 4199 if "_is_valid" in self.__dict__: 4200 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4201 4202 def _retrieve_swig_value(self, name, value): 4203 # If we got back a different object than we have cached, we need to copy 4204 # all our metadata into it, so that it looks identical to the one 4205 # originally set. 4206 members = self.__dict__.get('_members') 4207 if members is not None and name in members: 4208 _copy_metadata_deep(value, members[name]) 4209 4210 # Verify that the new object is good 4211 _assert_valid_deep(value) 4212 4213 return value 4214 4215 # Attribute access must be intercepted to ensure that objects coming from 4216 # read attribute access match those that are set with write attribute access. 4217 # Specifically the metadata, such as the associated apr_pool object, should 4218 # match the originally assigned object. 4219 # 4220 # For classic classes it is enough to use __getattr__ to intercept swig 4221 # derived attributes. However, with new style classes SWIG makes use of 4222 # descriptors which mean that __getattr__ is never called. Therefore, 4223 # __getattribute__ must be used for the interception. 4224 4225 if _newclass: 4226 def __getattribute__(self, name): 4227 """Manage access to all attributes of this object.""" 4228 4229 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4230 # items directly present in __dict__ 4231 mydict = object.__getattribute__(self, '__dict__') 4232 4233 if name == "__dict__": 4234 return mydict 4235 4236 if name in mydict: 4237 return mydict[name] 4238 4239 object.__getattribute__(self, 'assert_valid')() 4240 4241 value = _get_instance_attr(self, name) 4242 fn = object.__getattribute__(self, '_retrieve_swig_value') 4243 return fn(name, value) 4244 else: 4245 def __getattr__(self, name): 4246 """Get an attribute from this object""" 4247 self.assert_valid() 4248 4249 value = _swig_getattr(self, self.__class__, name) 4250 4251 return self._retrieve_swig_value(name, value) 4252 4253 def __setattr__(self, name, value): 4254 """Set an attribute on this object""" 4255 self.assert_valid() 4256 4257 # Save a copy of the object, so that the garbage 4258 # collector won't kill the object while it's in 4259 # SWIG-land 4260 self.__dict__.setdefault("_members",{})[name] = value 4261 4262 return _set_instance_attr(self, name, value) 4263 4264 4265 def __init__(self): 4266 """__init__(svn_auth_cred_ssl_client_cert_t self) -> svn_auth_cred_ssl_client_cert_t""" 4267 this = _core.new_svn_auth_cred_ssl_client_cert_t() 4268 try: 4269 self.this.append(this) 4270 except __builtin__.Exception: 4271 self.this = this 4272 __swig_destroy__ = _core.delete_svn_auth_cred_ssl_client_cert_t 4273 __del__ = lambda self: None 4274svn_auth_cred_ssl_client_cert_t_swigregister = _core.svn_auth_cred_ssl_client_cert_t_swigregister 4275svn_auth_cred_ssl_client_cert_t_swigregister(svn_auth_cred_ssl_client_cert_t) 4276 4277SVN_AUTH_CRED_SSL_CLIENT_CERT_PW = _core.SVN_AUTH_CRED_SSL_CLIENT_CERT_PW 4278class svn_auth_cred_ssl_client_cert_pw_t(object): 4279 """Proxy of C svn_auth_cred_ssl_client_cert_pw_t struct.""" 4280 4281 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 4282 __repr__ = _swig_repr 4283 password = _swig_property(_core.svn_auth_cred_ssl_client_cert_pw_t_password_get, _core.svn_auth_cred_ssl_client_cert_pw_t_password_set) 4284 may_save = _swig_property(_core.svn_auth_cred_ssl_client_cert_pw_t_may_save_get, _core.svn_auth_cred_ssl_client_cert_pw_t_may_save_set) 4285 def set_parent_pool(self, parent_pool=None): 4286 """Create a new proxy object for TYPE""" 4287 import libsvn.core, weakref 4288 self.__dict__["_parent_pool"] = \ 4289 parent_pool or libsvn.core.application_pool; 4290 if self.__dict__["_parent_pool"]: 4291 self.__dict__["_is_valid"] = weakref.ref( 4292 self.__dict__["_parent_pool"]._is_valid) 4293 4294 def assert_valid(self): 4295 """Assert that this object is using valid pool memory""" 4296 if "_is_valid" in self.__dict__: 4297 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4298 4299 def _retrieve_swig_value(self, name, value): 4300 # If we got back a different object than we have cached, we need to copy 4301 # all our metadata into it, so that it looks identical to the one 4302 # originally set. 4303 members = self.__dict__.get('_members') 4304 if members is not None and name in members: 4305 _copy_metadata_deep(value, members[name]) 4306 4307 # Verify that the new object is good 4308 _assert_valid_deep(value) 4309 4310 return value 4311 4312 # Attribute access must be intercepted to ensure that objects coming from 4313 # read attribute access match those that are set with write attribute access. 4314 # Specifically the metadata, such as the associated apr_pool object, should 4315 # match the originally assigned object. 4316 # 4317 # For classic classes it is enough to use __getattr__ to intercept swig 4318 # derived attributes. However, with new style classes SWIG makes use of 4319 # descriptors which mean that __getattr__ is never called. Therefore, 4320 # __getattribute__ must be used for the interception. 4321 4322 if _newclass: 4323 def __getattribute__(self, name): 4324 """Manage access to all attributes of this object.""" 4325 4326 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4327 # items directly present in __dict__ 4328 mydict = object.__getattribute__(self, '__dict__') 4329 4330 if name == "__dict__": 4331 return mydict 4332 4333 if name in mydict: 4334 return mydict[name] 4335 4336 object.__getattribute__(self, 'assert_valid')() 4337 4338 value = _get_instance_attr(self, name) 4339 fn = object.__getattribute__(self, '_retrieve_swig_value') 4340 return fn(name, value) 4341 else: 4342 def __getattr__(self, name): 4343 """Get an attribute from this object""" 4344 self.assert_valid() 4345 4346 value = _swig_getattr(self, self.__class__, name) 4347 4348 return self._retrieve_swig_value(name, value) 4349 4350 def __setattr__(self, name, value): 4351 """Set an attribute on this object""" 4352 self.assert_valid() 4353 4354 # Save a copy of the object, so that the garbage 4355 # collector won't kill the object while it's in 4356 # SWIG-land 4357 self.__dict__.setdefault("_members",{})[name] = value 4358 4359 return _set_instance_attr(self, name, value) 4360 4361 4362 def __init__(self): 4363 """__init__(svn_auth_cred_ssl_client_cert_pw_t self) -> svn_auth_cred_ssl_client_cert_pw_t""" 4364 this = _core.new_svn_auth_cred_ssl_client_cert_pw_t() 4365 try: 4366 self.this.append(this) 4367 except __builtin__.Exception: 4368 self.this = this 4369 __swig_destroy__ = _core.delete_svn_auth_cred_ssl_client_cert_pw_t 4370 __del__ = lambda self: None 4371svn_auth_cred_ssl_client_cert_pw_t_swigregister = _core.svn_auth_cred_ssl_client_cert_pw_t_swigregister 4372svn_auth_cred_ssl_client_cert_pw_t_swigregister(svn_auth_cred_ssl_client_cert_pw_t) 4373 4374SVN_AUTH_CRED_SSL_SERVER_TRUST = _core.SVN_AUTH_CRED_SSL_SERVER_TRUST 4375class svn_auth_ssl_server_cert_info_t(object): 4376 """Proxy of C svn_auth_ssl_server_cert_info_t struct.""" 4377 4378 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 4379 __repr__ = _swig_repr 4380 hostname = _swig_property(_core.svn_auth_ssl_server_cert_info_t_hostname_get, _core.svn_auth_ssl_server_cert_info_t_hostname_set) 4381 fingerprint = _swig_property(_core.svn_auth_ssl_server_cert_info_t_fingerprint_get, _core.svn_auth_ssl_server_cert_info_t_fingerprint_set) 4382 valid_from = _swig_property(_core.svn_auth_ssl_server_cert_info_t_valid_from_get, _core.svn_auth_ssl_server_cert_info_t_valid_from_set) 4383 valid_until = _swig_property(_core.svn_auth_ssl_server_cert_info_t_valid_until_get, _core.svn_auth_ssl_server_cert_info_t_valid_until_set) 4384 issuer_dname = _swig_property(_core.svn_auth_ssl_server_cert_info_t_issuer_dname_get, _core.svn_auth_ssl_server_cert_info_t_issuer_dname_set) 4385 ascii_cert = _swig_property(_core.svn_auth_ssl_server_cert_info_t_ascii_cert_get, _core.svn_auth_ssl_server_cert_info_t_ascii_cert_set) 4386 def set_parent_pool(self, parent_pool=None): 4387 """Create a new proxy object for TYPE""" 4388 import libsvn.core, weakref 4389 self.__dict__["_parent_pool"] = \ 4390 parent_pool or libsvn.core.application_pool; 4391 if self.__dict__["_parent_pool"]: 4392 self.__dict__["_is_valid"] = weakref.ref( 4393 self.__dict__["_parent_pool"]._is_valid) 4394 4395 def assert_valid(self): 4396 """Assert that this object is using valid pool memory""" 4397 if "_is_valid" in self.__dict__: 4398 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4399 4400 def _retrieve_swig_value(self, name, value): 4401 # If we got back a different object than we have cached, we need to copy 4402 # all our metadata into it, so that it looks identical to the one 4403 # originally set. 4404 members = self.__dict__.get('_members') 4405 if members is not None and name in members: 4406 _copy_metadata_deep(value, members[name]) 4407 4408 # Verify that the new object is good 4409 _assert_valid_deep(value) 4410 4411 return value 4412 4413 # Attribute access must be intercepted to ensure that objects coming from 4414 # read attribute access match those that are set with write attribute access. 4415 # Specifically the metadata, such as the associated apr_pool object, should 4416 # match the originally assigned object. 4417 # 4418 # For classic classes it is enough to use __getattr__ to intercept swig 4419 # derived attributes. However, with new style classes SWIG makes use of 4420 # descriptors which mean that __getattr__ is never called. Therefore, 4421 # __getattribute__ must be used for the interception. 4422 4423 if _newclass: 4424 def __getattribute__(self, name): 4425 """Manage access to all attributes of this object.""" 4426 4427 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4428 # items directly present in __dict__ 4429 mydict = object.__getattribute__(self, '__dict__') 4430 4431 if name == "__dict__": 4432 return mydict 4433 4434 if name in mydict: 4435 return mydict[name] 4436 4437 object.__getattribute__(self, 'assert_valid')() 4438 4439 value = _get_instance_attr(self, name) 4440 fn = object.__getattribute__(self, '_retrieve_swig_value') 4441 return fn(name, value) 4442 else: 4443 def __getattr__(self, name): 4444 """Get an attribute from this object""" 4445 self.assert_valid() 4446 4447 value = _swig_getattr(self, self.__class__, name) 4448 4449 return self._retrieve_swig_value(name, value) 4450 4451 def __setattr__(self, name, value): 4452 """Set an attribute on this object""" 4453 self.assert_valid() 4454 4455 # Save a copy of the object, so that the garbage 4456 # collector won't kill the object while it's in 4457 # SWIG-land 4458 self.__dict__.setdefault("_members",{})[name] = value 4459 4460 return _set_instance_attr(self, name, value) 4461 4462 4463 def __init__(self): 4464 """__init__(svn_auth_ssl_server_cert_info_t self) -> svn_auth_ssl_server_cert_info_t""" 4465 this = _core.new_svn_auth_ssl_server_cert_info_t() 4466 try: 4467 self.this.append(this) 4468 except __builtin__.Exception: 4469 self.this = this 4470 __swig_destroy__ = _core.delete_svn_auth_ssl_server_cert_info_t 4471 __del__ = lambda self: None 4472svn_auth_ssl_server_cert_info_t_swigregister = _core.svn_auth_ssl_server_cert_info_t_swigregister 4473svn_auth_ssl_server_cert_info_t_swigregister(svn_auth_ssl_server_cert_info_t) 4474 4475 4476def svn_auth_ssl_server_cert_info_dup(*args) -> "svn_auth_ssl_server_cert_info_t *": 4477 """svn_auth_ssl_server_cert_info_dup(svn_auth_ssl_server_cert_info_t info, apr_pool_t pool) -> svn_auth_ssl_server_cert_info_t""" 4478 return _core.svn_auth_ssl_server_cert_info_dup(*args) 4479class svn_auth_cred_ssl_server_trust_t(object): 4480 """Proxy of C svn_auth_cred_ssl_server_trust_t struct.""" 4481 4482 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 4483 __repr__ = _swig_repr 4484 may_save = _swig_property(_core.svn_auth_cred_ssl_server_trust_t_may_save_get, _core.svn_auth_cred_ssl_server_trust_t_may_save_set) 4485 accepted_failures = _swig_property(_core.svn_auth_cred_ssl_server_trust_t_accepted_failures_get, _core.svn_auth_cred_ssl_server_trust_t_accepted_failures_set) 4486 def set_parent_pool(self, parent_pool=None): 4487 """Create a new proxy object for TYPE""" 4488 import libsvn.core, weakref 4489 self.__dict__["_parent_pool"] = \ 4490 parent_pool or libsvn.core.application_pool; 4491 if self.__dict__["_parent_pool"]: 4492 self.__dict__["_is_valid"] = weakref.ref( 4493 self.__dict__["_parent_pool"]._is_valid) 4494 4495 def assert_valid(self): 4496 """Assert that this object is using valid pool memory""" 4497 if "_is_valid" in self.__dict__: 4498 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4499 4500 def _retrieve_swig_value(self, name, value): 4501 # If we got back a different object than we have cached, we need to copy 4502 # all our metadata into it, so that it looks identical to the one 4503 # originally set. 4504 members = self.__dict__.get('_members') 4505 if members is not None and name in members: 4506 _copy_metadata_deep(value, members[name]) 4507 4508 # Verify that the new object is good 4509 _assert_valid_deep(value) 4510 4511 return value 4512 4513 # Attribute access must be intercepted to ensure that objects coming from 4514 # read attribute access match those that are set with write attribute access. 4515 # Specifically the metadata, such as the associated apr_pool object, should 4516 # match the originally assigned object. 4517 # 4518 # For classic classes it is enough to use __getattr__ to intercept swig 4519 # derived attributes. However, with new style classes SWIG makes use of 4520 # descriptors which mean that __getattr__ is never called. Therefore, 4521 # __getattribute__ must be used for the interception. 4522 4523 if _newclass: 4524 def __getattribute__(self, name): 4525 """Manage access to all attributes of this object.""" 4526 4527 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4528 # items directly present in __dict__ 4529 mydict = object.__getattribute__(self, '__dict__') 4530 4531 if name == "__dict__": 4532 return mydict 4533 4534 if name in mydict: 4535 return mydict[name] 4536 4537 object.__getattribute__(self, 'assert_valid')() 4538 4539 value = _get_instance_attr(self, name) 4540 fn = object.__getattribute__(self, '_retrieve_swig_value') 4541 return fn(name, value) 4542 else: 4543 def __getattr__(self, name): 4544 """Get an attribute from this object""" 4545 self.assert_valid() 4546 4547 value = _swig_getattr(self, self.__class__, name) 4548 4549 return self._retrieve_swig_value(name, value) 4550 4551 def __setattr__(self, name, value): 4552 """Set an attribute on this object""" 4553 self.assert_valid() 4554 4555 # Save a copy of the object, so that the garbage 4556 # collector won't kill the object while it's in 4557 # SWIG-land 4558 self.__dict__.setdefault("_members",{})[name] = value 4559 4560 return _set_instance_attr(self, name, value) 4561 4562 4563 def __init__(self): 4564 """__init__(svn_auth_cred_ssl_server_trust_t self) -> svn_auth_cred_ssl_server_trust_t""" 4565 this = _core.new_svn_auth_cred_ssl_server_trust_t() 4566 try: 4567 self.this.append(this) 4568 except __builtin__.Exception: 4569 self.this = this 4570 __swig_destroy__ = _core.delete_svn_auth_cred_ssl_server_trust_t 4571 __del__ = lambda self: None 4572svn_auth_cred_ssl_server_trust_t_swigregister = _core.svn_auth_cred_ssl_server_trust_t_swigregister 4573svn_auth_cred_ssl_server_trust_t_swigregister(svn_auth_cred_ssl_server_trust_t) 4574 4575SVN_AUTH_SSL_NOTYETVALID = _core.SVN_AUTH_SSL_NOTYETVALID 4576SVN_AUTH_SSL_EXPIRED = _core.SVN_AUTH_SSL_EXPIRED 4577SVN_AUTH_SSL_CNMISMATCH = _core.SVN_AUTH_SSL_CNMISMATCH 4578SVN_AUTH_SSL_UNKNOWNCA = _core.SVN_AUTH_SSL_UNKNOWNCA 4579SVN_AUTH_SSL_OTHER = _core.SVN_AUTH_SSL_OTHER 4580 4581def svn_auth_open(*args) -> "svn_auth_baton_t **": 4582 """svn_auth_open(apr_array_header_t providers, apr_pool_t pool)""" 4583 val = _core.svn_auth_open(*args) 4584 4585 val.__dict__["_deps"] = list(args[0]) 4586 4587 4588 return val 4589 4590def svn_auth_set_parameter(auth_baton: 'svn_auth_baton_t *', name: 'char const *', value: 'void const *') -> "void": 4591 """svn_auth_set_parameter(svn_auth_baton_t * auth_baton, char const * name, void const * value)""" 4592 return _core.svn_auth_set_parameter(auth_baton, name, value) 4593SVN_AUTH_PARAM_PREFIX = _core.SVN_AUTH_PARAM_PREFIX 4594SVN_AUTH_PARAM_DEFAULT_USERNAME = _core.SVN_AUTH_PARAM_DEFAULT_USERNAME 4595SVN_AUTH_PARAM_DEFAULT_PASSWORD = _core.SVN_AUTH_PARAM_DEFAULT_PASSWORD 4596SVN_AUTH_PARAM_NON_INTERACTIVE = _core.SVN_AUTH_PARAM_NON_INTERACTIVE 4597SVN_AUTH_PARAM_DONT_STORE_PASSWORDS = _core.SVN_AUTH_PARAM_DONT_STORE_PASSWORDS 4598SVN_AUTH_PARAM_STORE_PLAINTEXT_PASSWORDS = _core.SVN_AUTH_PARAM_STORE_PLAINTEXT_PASSWORDS 4599SVN_AUTH_PARAM_DONT_STORE_SSL_CLIENT_CERT_PP = _core.SVN_AUTH_PARAM_DONT_STORE_SSL_CLIENT_CERT_PP 4600SVN_AUTH_PARAM_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT = _core.SVN_AUTH_PARAM_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT 4601SVN_AUTH_PARAM_NO_AUTH_CACHE = _core.SVN_AUTH_PARAM_NO_AUTH_CACHE 4602SVN_AUTH_PARAM_SSL_SERVER_FAILURES = _core.SVN_AUTH_PARAM_SSL_SERVER_FAILURES 4603SVN_AUTH_PARAM_SSL_SERVER_CERT_INFO = _core.SVN_AUTH_PARAM_SSL_SERVER_CERT_INFO 4604SVN_AUTH_PARAM_CONFIG_CATEGORY_CONFIG = _core.SVN_AUTH_PARAM_CONFIG_CATEGORY_CONFIG 4605SVN_AUTH_PARAM_CONFIG_CATEGORY_SERVERS = _core.SVN_AUTH_PARAM_CONFIG_CATEGORY_SERVERS 4606SVN_AUTH_PARAM_CONFIG = _core.SVN_AUTH_PARAM_CONFIG 4607SVN_AUTH_PARAM_SERVER_GROUP = _core.SVN_AUTH_PARAM_SERVER_GROUP 4608SVN_AUTH_PARAM_CONFIG_DIR = _core.SVN_AUTH_PARAM_CONFIG_DIR 4609 4610def svn_auth_first_credentials(*args) -> "void **, svn_auth_iterstate_t **": 4611 """svn_auth_first_credentials(char const * cred_kind, char const * realmstring, svn_auth_baton_t * auth_baton, apr_pool_t pool) -> svn_error_t""" 4612 return _core.svn_auth_first_credentials(*args) 4613 4614def svn_auth_next_credentials(*args) -> "void **": 4615 """svn_auth_next_credentials(svn_auth_iterstate_t * state, apr_pool_t pool) -> svn_error_t""" 4616 return _core.svn_auth_next_credentials(*args) 4617 4618def svn_auth_save_credentials(*args) -> "svn_error_t *": 4619 """svn_auth_save_credentials(svn_auth_iterstate_t * state, apr_pool_t pool) -> svn_error_t""" 4620 return _core.svn_auth_save_credentials(*args) 4621 4622def svn_auth_forget_credentials(*args) -> "svn_error_t *": 4623 """svn_auth_forget_credentials(svn_auth_baton_t * auth_baton, char const * cred_kind, char const * realmstring, apr_pool_t pool) -> svn_error_t""" 4624 return _core.svn_auth_forget_credentials(*args) 4625 4626def svn_auth_get_simple_prompt_provider(*args) -> "svn_auth_provider_object_t **": 4627 """svn_auth_get_simple_prompt_provider(svn_auth_simple_prompt_func_t prompt_func, int retry_limit, apr_pool_t pool)""" 4628 return _core.svn_auth_get_simple_prompt_provider(*args) 4629 4630def svn_auth_get_username_prompt_provider(*args) -> "svn_auth_provider_object_t **": 4631 """svn_auth_get_username_prompt_provider(svn_auth_username_prompt_func_t prompt_func, int retry_limit, apr_pool_t pool)""" 4632 return _core.svn_auth_get_username_prompt_provider(*args) 4633 4634def svn_auth_get_simple_provider2(*args) -> "svn_auth_provider_object_t **": 4635 """svn_auth_get_simple_provider2(svn_auth_plaintext_prompt_func_t plaintext_prompt_func, void * prompt_baton, apr_pool_t pool)""" 4636 return _core.svn_auth_get_simple_provider2(*args) 4637 4638def svn_auth_get_simple_provider(*args) -> "svn_auth_provider_object_t **": 4639 """svn_auth_get_simple_provider(apr_pool_t pool)""" 4640 return _core.svn_auth_get_simple_provider(*args) 4641 4642def svn_auth_get_platform_specific_provider(*args) -> "svn_auth_provider_object_t **": 4643 """svn_auth_get_platform_specific_provider(char const * provider_name, char const * provider_type, apr_pool_t pool) -> svn_error_t""" 4644 return _core.svn_auth_get_platform_specific_provider(*args) 4645 4646def svn_auth_get_platform_specific_client_providers(*args) -> "apr_array_header_t **": 4647 """svn_auth_get_platform_specific_client_providers(svn_config_t * config, apr_pool_t pool) -> svn_error_t""" 4648 return _core.svn_auth_get_platform_specific_client_providers(*args) 4649SVN_AUTH_PARAM_GNOME_KEYRING_UNLOCK_PROMPT_FUNC = _core.SVN_AUTH_PARAM_GNOME_KEYRING_UNLOCK_PROMPT_FUNC 4650SVN_AUTH_PARAM_GNOME_KEYRING_UNLOCK_PROMPT_BATON = _core.SVN_AUTH_PARAM_GNOME_KEYRING_UNLOCK_PROMPT_BATON 4651 4652def svn_auth_get_username_provider(*args) -> "svn_auth_provider_object_t **": 4653 """svn_auth_get_username_provider(apr_pool_t pool)""" 4654 return _core.svn_auth_get_username_provider(*args) 4655 4656def svn_auth_get_ssl_server_trust_file_provider(*args) -> "svn_auth_provider_object_t **": 4657 """svn_auth_get_ssl_server_trust_file_provider(apr_pool_t pool)""" 4658 return _core.svn_auth_get_ssl_server_trust_file_provider(*args) 4659 4660def svn_auth_get_ssl_client_cert_file_provider(*args) -> "svn_auth_provider_object_t **": 4661 """svn_auth_get_ssl_client_cert_file_provider(apr_pool_t pool)""" 4662 return _core.svn_auth_get_ssl_client_cert_file_provider(*args) 4663 4664def svn_auth_get_ssl_client_cert_pw_file_provider2(*args) -> "svn_auth_provider_object_t **": 4665 """svn_auth_get_ssl_client_cert_pw_file_provider2(svn_auth_plaintext_passphrase_prompt_func_t plaintext_passphrase_prompt_func, void * prompt_baton, apr_pool_t pool)""" 4666 return _core.svn_auth_get_ssl_client_cert_pw_file_provider2(*args) 4667 4668def svn_auth_get_ssl_client_cert_pw_file_provider(*args) -> "svn_auth_provider_object_t **": 4669 """svn_auth_get_ssl_client_cert_pw_file_provider(apr_pool_t pool)""" 4670 return _core.svn_auth_get_ssl_client_cert_pw_file_provider(*args) 4671 4672def svn_auth_get_ssl_server_trust_prompt_provider(*args) -> "svn_auth_provider_object_t **": 4673 """svn_auth_get_ssl_server_trust_prompt_provider(svn_auth_ssl_server_trust_prompt_func_t prompt_func, apr_pool_t pool)""" 4674 return _core.svn_auth_get_ssl_server_trust_prompt_provider(*args) 4675 4676def svn_auth_get_ssl_client_cert_prompt_provider(*args) -> "svn_auth_provider_object_t **": 4677 """svn_auth_get_ssl_client_cert_prompt_provider(svn_auth_ssl_client_cert_prompt_func_t prompt_func, int retry_limit, apr_pool_t pool)""" 4678 return _core.svn_auth_get_ssl_client_cert_prompt_provider(*args) 4679 4680def svn_auth_get_ssl_client_cert_pw_prompt_provider(*args) -> "svn_auth_provider_object_t **": 4681 """svn_auth_get_ssl_client_cert_pw_prompt_provider(svn_auth_ssl_client_cert_pw_prompt_func_t prompt_func, int retry_limit, apr_pool_t pool)""" 4682 return _core.svn_auth_get_ssl_client_cert_pw_prompt_provider(*args) 4683class svn_auth_baton_t(object): 4684 """Proxy of C svn_auth_baton_t struct.""" 4685 4686 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 4687 4688 def __init__(self, *args, **kwargs): 4689 raise AttributeError("No constructor defined") 4690 __repr__ = _swig_repr 4691 def set_parent_pool(self, parent_pool=None): 4692 """Create a new proxy object for TYPE""" 4693 import libsvn.core, weakref 4694 self.__dict__["_parent_pool"] = \ 4695 parent_pool or libsvn.core.application_pool; 4696 if self.__dict__["_parent_pool"]: 4697 self.__dict__["_is_valid"] = weakref.ref( 4698 self.__dict__["_parent_pool"]._is_valid) 4699 4700 def assert_valid(self): 4701 """Assert that this object is using valid pool memory""" 4702 if "_is_valid" in self.__dict__: 4703 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4704 4705 def _retrieve_swig_value(self, name, value): 4706 # If we got back a different object than we have cached, we need to copy 4707 # all our metadata into it, so that it looks identical to the one 4708 # originally set. 4709 members = self.__dict__.get('_members') 4710 if members is not None and name in members: 4711 _copy_metadata_deep(value, members[name]) 4712 4713 # Verify that the new object is good 4714 _assert_valid_deep(value) 4715 4716 return value 4717 4718 # Attribute access must be intercepted to ensure that objects coming from 4719 # read attribute access match those that are set with write attribute access. 4720 # Specifically the metadata, such as the associated apr_pool object, should 4721 # match the originally assigned object. 4722 # 4723 # For classic classes it is enough to use __getattr__ to intercept swig 4724 # derived attributes. However, with new style classes SWIG makes use of 4725 # descriptors which mean that __getattr__ is never called. Therefore, 4726 # __getattribute__ must be used for the interception. 4727 4728 if _newclass: 4729 def __getattribute__(self, name): 4730 """Manage access to all attributes of this object.""" 4731 4732 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4733 # items directly present in __dict__ 4734 mydict = object.__getattribute__(self, '__dict__') 4735 4736 if name == "__dict__": 4737 return mydict 4738 4739 if name in mydict: 4740 return mydict[name] 4741 4742 object.__getattribute__(self, 'assert_valid')() 4743 4744 value = _get_instance_attr(self, name) 4745 fn = object.__getattribute__(self, '_retrieve_swig_value') 4746 return fn(name, value) 4747 else: 4748 def __getattr__(self, name): 4749 """Get an attribute from this object""" 4750 self.assert_valid() 4751 4752 value = _swig_getattr(self, self.__class__, name) 4753 4754 return self._retrieve_swig_value(name, value) 4755 4756 def __setattr__(self, name, value): 4757 """Set an attribute on this object""" 4758 self.assert_valid() 4759 4760 # Save a copy of the object, so that the garbage 4761 # collector won't kill the object while it's in 4762 # SWIG-land 4763 self.__dict__.setdefault("_members",{})[name] = value 4764 4765 return _set_instance_attr(self, name, value) 4766 4767svn_auth_baton_t_swigregister = _core.svn_auth_baton_t_swigregister 4768svn_auth_baton_t_swigregister(svn_auth_baton_t) 4769 4770class svn_auth_iterstate_t(object): 4771 """Proxy of C svn_auth_iterstate_t struct.""" 4772 4773 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 4774 4775 def __init__(self, *args, **kwargs): 4776 raise AttributeError("No constructor defined") 4777 __repr__ = _swig_repr 4778 def set_parent_pool(self, parent_pool=None): 4779 """Create a new proxy object for TYPE""" 4780 import libsvn.core, weakref 4781 self.__dict__["_parent_pool"] = \ 4782 parent_pool or libsvn.core.application_pool; 4783 if self.__dict__["_parent_pool"]: 4784 self.__dict__["_is_valid"] = weakref.ref( 4785 self.__dict__["_parent_pool"]._is_valid) 4786 4787 def assert_valid(self): 4788 """Assert that this object is using valid pool memory""" 4789 if "_is_valid" in self.__dict__: 4790 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4791 4792 def _retrieve_swig_value(self, name, value): 4793 # If we got back a different object than we have cached, we need to copy 4794 # all our metadata into it, so that it looks identical to the one 4795 # originally set. 4796 members = self.__dict__.get('_members') 4797 if members is not None and name in members: 4798 _copy_metadata_deep(value, members[name]) 4799 4800 # Verify that the new object is good 4801 _assert_valid_deep(value) 4802 4803 return value 4804 4805 # Attribute access must be intercepted to ensure that objects coming from 4806 # read attribute access match those that are set with write attribute access. 4807 # Specifically the metadata, such as the associated apr_pool object, should 4808 # match the originally assigned object. 4809 # 4810 # For classic classes it is enough to use __getattr__ to intercept swig 4811 # derived attributes. However, with new style classes SWIG makes use of 4812 # descriptors which mean that __getattr__ is never called. Therefore, 4813 # __getattribute__ must be used for the interception. 4814 4815 if _newclass: 4816 def __getattribute__(self, name): 4817 """Manage access to all attributes of this object.""" 4818 4819 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4820 # items directly present in __dict__ 4821 mydict = object.__getattribute__(self, '__dict__') 4822 4823 if name == "__dict__": 4824 return mydict 4825 4826 if name in mydict: 4827 return mydict[name] 4828 4829 object.__getattribute__(self, 'assert_valid')() 4830 4831 value = _get_instance_attr(self, name) 4832 fn = object.__getattribute__(self, '_retrieve_swig_value') 4833 return fn(name, value) 4834 else: 4835 def __getattr__(self, name): 4836 """Get an attribute from this object""" 4837 self.assert_valid() 4838 4839 value = _swig_getattr(self, self.__class__, name) 4840 4841 return self._retrieve_swig_value(name, value) 4842 4843 def __setattr__(self, name, value): 4844 """Set an attribute on this object""" 4845 self.assert_valid() 4846 4847 # Save a copy of the object, so that the garbage 4848 # collector won't kill the object while it's in 4849 # SWIG-land 4850 self.__dict__.setdefault("_members",{})[name] = value 4851 4852 return _set_instance_attr(self, name, value) 4853 4854svn_auth_iterstate_t_swigregister = _core.svn_auth_iterstate_t_swigregister 4855svn_auth_iterstate_t_swigregister(svn_auth_iterstate_t) 4856 4857 4858def svn_auth_provider_invoke_first_credentials(*args) -> "void **, void **": 4859 """svn_auth_provider_invoke_first_credentials(svn_auth_provider_t _obj, void * provider_baton, apr_hash_t parameters, char const * realmstring, apr_pool_t pool) -> svn_error_t""" 4860 return _core.svn_auth_provider_invoke_first_credentials(*args) 4861 4862def svn_auth_provider_invoke_next_credentials(*args) -> "void **": 4863 """svn_auth_provider_invoke_next_credentials(svn_auth_provider_t _obj, void * iter_baton, void * provider_baton, apr_hash_t parameters, char const * realmstring, apr_pool_t pool) -> svn_error_t""" 4864 return _core.svn_auth_provider_invoke_next_credentials(*args) 4865 4866def svn_auth_provider_invoke_save_credentials(*args) -> "svn_boolean_t *": 4867 """svn_auth_provider_invoke_save_credentials(svn_auth_provider_t _obj, void * credentials, void * provider_baton, apr_hash_t parameters, char const * realmstring, apr_pool_t pool) -> svn_error_t""" 4868 return _core.svn_auth_provider_invoke_save_credentials(*args) 4869 4870def svn_auth_invoke_simple_provider_func(*args) -> "svn_auth_provider_object_t **": 4871 """svn_auth_invoke_simple_provider_func(svn_auth_simple_provider_func_t _obj, apr_pool_t pool)""" 4872 return _core.svn_auth_invoke_simple_provider_func(*args) 4873 4874def svn_auth_invoke_ssl_client_cert_pw_provider_func(*args) -> "svn_auth_provider_object_t **": 4875 """svn_auth_invoke_ssl_client_cert_pw_provider_func(svn_auth_ssl_client_cert_pw_provider_func_t _obj, apr_pool_t pool)""" 4876 return _core.svn_auth_invoke_ssl_client_cert_pw_provider_func(*args) 4877 4878def svn_auth_invoke_simple_prompt_func(*args) -> "svn_auth_cred_simple_t **": 4879 """svn_auth_invoke_simple_prompt_func(svn_auth_simple_prompt_func_t _obj, void * baton, char const * realm, char const * username, svn_boolean_t may_save, apr_pool_t pool) -> svn_error_t""" 4880 return _core.svn_auth_invoke_simple_prompt_func(*args) 4881 4882def svn_auth_invoke_username_prompt_func(*args) -> "svn_auth_cred_username_t **": 4883 """svn_auth_invoke_username_prompt_func(svn_auth_username_prompt_func_t _obj, void * baton, char const * realm, svn_boolean_t may_save, apr_pool_t pool) -> svn_error_t""" 4884 return _core.svn_auth_invoke_username_prompt_func(*args) 4885 4886def svn_auth_invoke_ssl_server_trust_prompt_func(*args) -> "svn_auth_cred_ssl_server_trust_t **": 4887 """svn_auth_invoke_ssl_server_trust_prompt_func(svn_auth_ssl_server_trust_prompt_func_t _obj, void * baton, char const * realm, apr_uint32_t failures, svn_auth_ssl_server_cert_info_t cert_info, svn_boolean_t may_save, apr_pool_t pool) -> svn_error_t""" 4888 return _core.svn_auth_invoke_ssl_server_trust_prompt_func(*args) 4889 4890def svn_auth_invoke_ssl_client_cert_prompt_func(*args) -> "svn_auth_cred_ssl_client_cert_t **": 4891 """svn_auth_invoke_ssl_client_cert_prompt_func(svn_auth_ssl_client_cert_prompt_func_t _obj, void * baton, char const * realm, svn_boolean_t may_save, apr_pool_t pool) -> svn_error_t""" 4892 return _core.svn_auth_invoke_ssl_client_cert_prompt_func(*args) 4893 4894def svn_auth_invoke_ssl_client_cert_pw_prompt_func(*args) -> "svn_auth_cred_ssl_client_cert_pw_t **": 4895 """svn_auth_invoke_ssl_client_cert_pw_prompt_func(svn_auth_ssl_client_cert_pw_prompt_func_t _obj, void * baton, char const * realm, svn_boolean_t may_save, apr_pool_t pool) -> svn_error_t""" 4896 return _core.svn_auth_invoke_ssl_client_cert_pw_prompt_func(*args) 4897 4898def svn_auth_invoke_plaintext_prompt_func(*args) -> "svn_boolean_t *": 4899 """svn_auth_invoke_plaintext_prompt_func(svn_auth_plaintext_prompt_func_t _obj, char const * realmstring, void * baton, apr_pool_t pool) -> svn_error_t""" 4900 return _core.svn_auth_invoke_plaintext_prompt_func(*args) 4901 4902def svn_auth_invoke_plaintext_passphrase_prompt_func(*args) -> "svn_boolean_t *": 4903 """svn_auth_invoke_plaintext_passphrase_prompt_func(svn_auth_plaintext_passphrase_prompt_func_t _obj, char const * realmstring, void * baton, apr_pool_t pool) -> svn_error_t""" 4904 return _core.svn_auth_invoke_plaintext_passphrase_prompt_func(*args) 4905class svn_auth_simple_provider_func_t(object): 4906 """Proxy of C svn_auth_simple_provider_func_t struct.""" 4907 4908 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 4909 4910 def __init__(self, *args, **kwargs): 4911 raise AttributeError("No constructor defined") 4912 __repr__ = _swig_repr 4913 def set_parent_pool(self, parent_pool=None): 4914 """Create a new proxy object for TYPE""" 4915 import libsvn.core, weakref 4916 self.__dict__["_parent_pool"] = \ 4917 parent_pool or libsvn.core.application_pool; 4918 if self.__dict__["_parent_pool"]: 4919 self.__dict__["_is_valid"] = weakref.ref( 4920 self.__dict__["_parent_pool"]._is_valid) 4921 4922 def assert_valid(self): 4923 """Assert that this object is using valid pool memory""" 4924 if "_is_valid" in self.__dict__: 4925 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 4926 4927 def _retrieve_swig_value(self, name, value): 4928 # If we got back a different object than we have cached, we need to copy 4929 # all our metadata into it, so that it looks identical to the one 4930 # originally set. 4931 members = self.__dict__.get('_members') 4932 if members is not None and name in members: 4933 _copy_metadata_deep(value, members[name]) 4934 4935 # Verify that the new object is good 4936 _assert_valid_deep(value) 4937 4938 return value 4939 4940 # Attribute access must be intercepted to ensure that objects coming from 4941 # read attribute access match those that are set with write attribute access. 4942 # Specifically the metadata, such as the associated apr_pool object, should 4943 # match the originally assigned object. 4944 # 4945 # For classic classes it is enough to use __getattr__ to intercept swig 4946 # derived attributes. However, with new style classes SWIG makes use of 4947 # descriptors which mean that __getattr__ is never called. Therefore, 4948 # __getattribute__ must be used for the interception. 4949 4950 if _newclass: 4951 def __getattribute__(self, name): 4952 """Manage access to all attributes of this object.""" 4953 4954 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 4955 # items directly present in __dict__ 4956 mydict = object.__getattribute__(self, '__dict__') 4957 4958 if name == "__dict__": 4959 return mydict 4960 4961 if name in mydict: 4962 return mydict[name] 4963 4964 object.__getattribute__(self, 'assert_valid')() 4965 4966 value = _get_instance_attr(self, name) 4967 fn = object.__getattribute__(self, '_retrieve_swig_value') 4968 return fn(name, value) 4969 else: 4970 def __getattr__(self, name): 4971 """Get an attribute from this object""" 4972 self.assert_valid() 4973 4974 value = _swig_getattr(self, self.__class__, name) 4975 4976 return self._retrieve_swig_value(name, value) 4977 4978 def __setattr__(self, name, value): 4979 """Set an attribute on this object""" 4980 self.assert_valid() 4981 4982 # Save a copy of the object, so that the garbage 4983 # collector won't kill the object while it's in 4984 # SWIG-land 4985 self.__dict__.setdefault("_members",{})[name] = value 4986 4987 return _set_instance_attr(self, name, value) 4988 4989 4990 def __call__(self, *args): 4991 return svn_auth_invoke_simple_provider_func(self, *args) 4992 4993svn_auth_simple_provider_func_t_swigregister = _core.svn_auth_simple_provider_func_t_swigregister 4994svn_auth_simple_provider_func_t_swigregister(svn_auth_simple_provider_func_t) 4995 4996class svn_auth_ssl_client_cert_pw_provider_func_t(object): 4997 """Proxy of C svn_auth_ssl_client_cert_pw_provider_func_t struct.""" 4998 4999 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 5000 5001 def __init__(self, *args, **kwargs): 5002 raise AttributeError("No constructor defined") 5003 __repr__ = _swig_repr 5004 def set_parent_pool(self, parent_pool=None): 5005 """Create a new proxy object for TYPE""" 5006 import libsvn.core, weakref 5007 self.__dict__["_parent_pool"] = \ 5008 parent_pool or libsvn.core.application_pool; 5009 if self.__dict__["_parent_pool"]: 5010 self.__dict__["_is_valid"] = weakref.ref( 5011 self.__dict__["_parent_pool"]._is_valid) 5012 5013 def assert_valid(self): 5014 """Assert that this object is using valid pool memory""" 5015 if "_is_valid" in self.__dict__: 5016 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 5017 5018 def _retrieve_swig_value(self, name, value): 5019 # If we got back a different object than we have cached, we need to copy 5020 # all our metadata into it, so that it looks identical to the one 5021 # originally set. 5022 members = self.__dict__.get('_members') 5023 if members is not None and name in members: 5024 _copy_metadata_deep(value, members[name]) 5025 5026 # Verify that the new object is good 5027 _assert_valid_deep(value) 5028 5029 return value 5030 5031 # Attribute access must be intercepted to ensure that objects coming from 5032 # read attribute access match those that are set with write attribute access. 5033 # Specifically the metadata, such as the associated apr_pool object, should 5034 # match the originally assigned object. 5035 # 5036 # For classic classes it is enough to use __getattr__ to intercept swig 5037 # derived attributes. However, with new style classes SWIG makes use of 5038 # descriptors which mean that __getattr__ is never called. Therefore, 5039 # __getattribute__ must be used for the interception. 5040 5041 if _newclass: 5042 def __getattribute__(self, name): 5043 """Manage access to all attributes of this object.""" 5044 5045 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 5046 # items directly present in __dict__ 5047 mydict = object.__getattribute__(self, '__dict__') 5048 5049 if name == "__dict__": 5050 return mydict 5051 5052 if name in mydict: 5053 return mydict[name] 5054 5055 object.__getattribute__(self, 'assert_valid')() 5056 5057 value = _get_instance_attr(self, name) 5058 fn = object.__getattribute__(self, '_retrieve_swig_value') 5059 return fn(name, value) 5060 else: 5061 def __getattr__(self, name): 5062 """Get an attribute from this object""" 5063 self.assert_valid() 5064 5065 value = _swig_getattr(self, self.__class__, name) 5066 5067 return self._retrieve_swig_value(name, value) 5068 5069 def __setattr__(self, name, value): 5070 """Set an attribute on this object""" 5071 self.assert_valid() 5072 5073 # Save a copy of the object, so that the garbage 5074 # collector won't kill the object while it's in 5075 # SWIG-land 5076 self.__dict__.setdefault("_members",{})[name] = value 5077 5078 return _set_instance_attr(self, name, value) 5079 5080 5081 def __call__(self, *args): 5082 return svn_auth_invoke_ssl_client_cert_pw_provider_func(self, *args) 5083 5084svn_auth_ssl_client_cert_pw_provider_func_t_swigregister = _core.svn_auth_ssl_client_cert_pw_provider_func_t_swigregister 5085svn_auth_ssl_client_cert_pw_provider_func_t_swigregister(svn_auth_ssl_client_cert_pw_provider_func_t) 5086 5087class svn_auth_simple_prompt_func_t(object): 5088 """Proxy of C svn_auth_simple_prompt_func_t struct.""" 5089 5090 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 5091 5092 def __init__(self, *args, **kwargs): 5093 raise AttributeError("No constructor defined") 5094 __repr__ = _swig_repr 5095 def set_parent_pool(self, parent_pool=None): 5096 """Create a new proxy object for TYPE""" 5097 import libsvn.core, weakref 5098 self.__dict__["_parent_pool"] = \ 5099 parent_pool or libsvn.core.application_pool; 5100 if self.__dict__["_parent_pool"]: 5101 self.__dict__["_is_valid"] = weakref.ref( 5102 self.__dict__["_parent_pool"]._is_valid) 5103 5104 def assert_valid(self): 5105 """Assert that this object is using valid pool memory""" 5106 if "_is_valid" in self.__dict__: 5107 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 5108 5109 def _retrieve_swig_value(self, name, value): 5110 # If we got back a different object than we have cached, we need to copy 5111 # all our metadata into it, so that it looks identical to the one 5112 # originally set. 5113 members = self.__dict__.get('_members') 5114 if members is not None and name in members: 5115 _copy_metadata_deep(value, members[name]) 5116 5117 # Verify that the new object is good 5118 _assert_valid_deep(value) 5119 5120 return value 5121 5122 # Attribute access must be intercepted to ensure that objects coming from 5123 # read attribute access match those that are set with write attribute access. 5124 # Specifically the metadata, such as the associated apr_pool object, should 5125 # match the originally assigned object. 5126 # 5127 # For classic classes it is enough to use __getattr__ to intercept swig 5128 # derived attributes. However, with new style classes SWIG makes use of 5129 # descriptors which mean that __getattr__ is never called. Therefore, 5130 # __getattribute__ must be used for the interception. 5131 5132 if _newclass: 5133 def __getattribute__(self, name): 5134 """Manage access to all attributes of this object.""" 5135 5136 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 5137 # items directly present in __dict__ 5138 mydict = object.__getattribute__(self, '__dict__') 5139 5140 if name == "__dict__": 5141 return mydict 5142 5143 if name in mydict: 5144 return mydict[name] 5145 5146 object.__getattribute__(self, 'assert_valid')() 5147 5148 value = _get_instance_attr(self, name) 5149 fn = object.__getattribute__(self, '_retrieve_swig_value') 5150 return fn(name, value) 5151 else: 5152 def __getattr__(self, name): 5153 """Get an attribute from this object""" 5154 self.assert_valid() 5155 5156 value = _swig_getattr(self, self.__class__, name) 5157 5158 return self._retrieve_swig_value(name, value) 5159 5160 def __setattr__(self, name, value): 5161 """Set an attribute on this object""" 5162 self.assert_valid() 5163 5164 # Save a copy of the object, so that the garbage 5165 # collector won't kill the object while it's in 5166 # SWIG-land 5167 self.__dict__.setdefault("_members",{})[name] = value 5168 5169 return _set_instance_attr(self, name, value) 5170 5171 5172 def __call__(self, *args): 5173 return svn_auth_invoke_simple_prompt_func(self, *args) 5174 5175svn_auth_simple_prompt_func_t_swigregister = _core.svn_auth_simple_prompt_func_t_swigregister 5176svn_auth_simple_prompt_func_t_swigregister(svn_auth_simple_prompt_func_t) 5177 5178class svn_auth_username_prompt_func_t(object): 5179 """Proxy of C svn_auth_username_prompt_func_t struct.""" 5180 5181 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 5182 5183 def __init__(self, *args, **kwargs): 5184 raise AttributeError("No constructor defined") 5185 __repr__ = _swig_repr 5186 def set_parent_pool(self, parent_pool=None): 5187 """Create a new proxy object for TYPE""" 5188 import libsvn.core, weakref 5189 self.__dict__["_parent_pool"] = \ 5190 parent_pool or libsvn.core.application_pool; 5191 if self.__dict__["_parent_pool"]: 5192 self.__dict__["_is_valid"] = weakref.ref( 5193 self.__dict__["_parent_pool"]._is_valid) 5194 5195 def assert_valid(self): 5196 """Assert that this object is using valid pool memory""" 5197 if "_is_valid" in self.__dict__: 5198 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 5199 5200 def _retrieve_swig_value(self, name, value): 5201 # If we got back a different object than we have cached, we need to copy 5202 # all our metadata into it, so that it looks identical to the one 5203 # originally set. 5204 members = self.__dict__.get('_members') 5205 if members is not None and name in members: 5206 _copy_metadata_deep(value, members[name]) 5207 5208 # Verify that the new object is good 5209 _assert_valid_deep(value) 5210 5211 return value 5212 5213 # Attribute access must be intercepted to ensure that objects coming from 5214 # read attribute access match those that are set with write attribute access. 5215 # Specifically the metadata, such as the associated apr_pool object, should 5216 # match the originally assigned object. 5217 # 5218 # For classic classes it is enough to use __getattr__ to intercept swig 5219 # derived attributes. However, with new style classes SWIG makes use of 5220 # descriptors which mean that __getattr__ is never called. Therefore, 5221 # __getattribute__ must be used for the interception. 5222 5223 if _newclass: 5224 def __getattribute__(self, name): 5225 """Manage access to all attributes of this object.""" 5226 5227 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 5228 # items directly present in __dict__ 5229 mydict = object.__getattribute__(self, '__dict__') 5230 5231 if name == "__dict__": 5232 return mydict 5233 5234 if name in mydict: 5235 return mydict[name] 5236 5237 object.__getattribute__(self, 'assert_valid')() 5238 5239 value = _get_instance_attr(self, name) 5240 fn = object.__getattribute__(self, '_retrieve_swig_value') 5241 return fn(name, value) 5242 else: 5243 def __getattr__(self, name): 5244 """Get an attribute from this object""" 5245 self.assert_valid() 5246 5247 value = _swig_getattr(self, self.__class__, name) 5248 5249 return self._retrieve_swig_value(name, value) 5250 5251 def __setattr__(self, name, value): 5252 """Set an attribute on this object""" 5253 self.assert_valid() 5254 5255 # Save a copy of the object, so that the garbage 5256 # collector won't kill the object while it's in 5257 # SWIG-land 5258 self.__dict__.setdefault("_members",{})[name] = value 5259 5260 return _set_instance_attr(self, name, value) 5261 5262 5263 def __call__(self, *args): 5264 return svn_auth_invoke_username_prompt_func(self, *args) 5265 5266svn_auth_username_prompt_func_t_swigregister = _core.svn_auth_username_prompt_func_t_swigregister 5267svn_auth_username_prompt_func_t_swigregister(svn_auth_username_prompt_func_t) 5268 5269class svn_auth_ssl_server_trust_prompt_func_t(object): 5270 """Proxy of C svn_auth_ssl_server_trust_prompt_func_t struct.""" 5271 5272 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 5273 5274 def __init__(self, *args, **kwargs): 5275 raise AttributeError("No constructor defined") 5276 __repr__ = _swig_repr 5277 def set_parent_pool(self, parent_pool=None): 5278 """Create a new proxy object for TYPE""" 5279 import libsvn.core, weakref 5280 self.__dict__["_parent_pool"] = \ 5281 parent_pool or libsvn.core.application_pool; 5282 if self.__dict__["_parent_pool"]: 5283 self.__dict__["_is_valid"] = weakref.ref( 5284 self.__dict__["_parent_pool"]._is_valid) 5285 5286 def assert_valid(self): 5287 """Assert that this object is using valid pool memory""" 5288 if "_is_valid" in self.__dict__: 5289 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 5290 5291 def _retrieve_swig_value(self, name, value): 5292 # If we got back a different object than we have cached, we need to copy 5293 # all our metadata into it, so that it looks identical to the one 5294 # originally set. 5295 members = self.__dict__.get('_members') 5296 if members is not None and name in members: 5297 _copy_metadata_deep(value, members[name]) 5298 5299 # Verify that the new object is good 5300 _assert_valid_deep(value) 5301 5302 return value 5303 5304 # Attribute access must be intercepted to ensure that objects coming from 5305 # read attribute access match those that are set with write attribute access. 5306 # Specifically the metadata, such as the associated apr_pool object, should 5307 # match the originally assigned object. 5308 # 5309 # For classic classes it is enough to use __getattr__ to intercept swig 5310 # derived attributes. However, with new style classes SWIG makes use of 5311 # descriptors which mean that __getattr__ is never called. Therefore, 5312 # __getattribute__ must be used for the interception. 5313 5314 if _newclass: 5315 def __getattribute__(self, name): 5316 """Manage access to all attributes of this object.""" 5317 5318 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 5319 # items directly present in __dict__ 5320 mydict = object.__getattribute__(self, '__dict__') 5321 5322 if name == "__dict__": 5323 return mydict 5324 5325 if name in mydict: 5326 return mydict[name] 5327 5328 object.__getattribute__(self, 'assert_valid')() 5329 5330 value = _get_instance_attr(self, name) 5331 fn = object.__getattribute__(self, '_retrieve_swig_value') 5332 return fn(name, value) 5333 else: 5334 def __getattr__(self, name): 5335 """Get an attribute from this object""" 5336 self.assert_valid() 5337 5338 value = _swig_getattr(self, self.__class__, name) 5339 5340 return self._retrieve_swig_value(name, value) 5341 5342 def __setattr__(self, name, value): 5343 """Set an attribute on this object""" 5344 self.assert_valid() 5345 5346 # Save a copy of the object, so that the garbage 5347 # collector won't kill the object while it's in 5348 # SWIG-land 5349 self.__dict__.setdefault("_members",{})[name] = value 5350 5351 return _set_instance_attr(self, name, value) 5352 5353 5354 def __call__(self, *args): 5355 return svn_auth_invoke_ssl_server_trust_prompt_func(self, *args) 5356 5357svn_auth_ssl_server_trust_prompt_func_t_swigregister = _core.svn_auth_ssl_server_trust_prompt_func_t_swigregister 5358svn_auth_ssl_server_trust_prompt_func_t_swigregister(svn_auth_ssl_server_trust_prompt_func_t) 5359 5360class svn_auth_ssl_client_cert_prompt_func_t(object): 5361 """Proxy of C svn_auth_ssl_client_cert_prompt_func_t struct.""" 5362 5363 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 5364 5365 def __init__(self, *args, **kwargs): 5366 raise AttributeError("No constructor defined") 5367 __repr__ = _swig_repr 5368 def set_parent_pool(self, parent_pool=None): 5369 """Create a new proxy object for TYPE""" 5370 import libsvn.core, weakref 5371 self.__dict__["_parent_pool"] = \ 5372 parent_pool or libsvn.core.application_pool; 5373 if self.__dict__["_parent_pool"]: 5374 self.__dict__["_is_valid"] = weakref.ref( 5375 self.__dict__["_parent_pool"]._is_valid) 5376 5377 def assert_valid(self): 5378 """Assert that this object is using valid pool memory""" 5379 if "_is_valid" in self.__dict__: 5380 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 5381 5382 def _retrieve_swig_value(self, name, value): 5383 # If we got back a different object than we have cached, we need to copy 5384 # all our metadata into it, so that it looks identical to the one 5385 # originally set. 5386 members = self.__dict__.get('_members') 5387 if members is not None and name in members: 5388 _copy_metadata_deep(value, members[name]) 5389 5390 # Verify that the new object is good 5391 _assert_valid_deep(value) 5392 5393 return value 5394 5395 # Attribute access must be intercepted to ensure that objects coming from 5396 # read attribute access match those that are set with write attribute access. 5397 # Specifically the metadata, such as the associated apr_pool object, should 5398 # match the originally assigned object. 5399 # 5400 # For classic classes it is enough to use __getattr__ to intercept swig 5401 # derived attributes. However, with new style classes SWIG makes use of 5402 # descriptors which mean that __getattr__ is never called. Therefore, 5403 # __getattribute__ must be used for the interception. 5404 5405 if _newclass: 5406 def __getattribute__(self, name): 5407 """Manage access to all attributes of this object.""" 5408 5409 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 5410 # items directly present in __dict__ 5411 mydict = object.__getattribute__(self, '__dict__') 5412 5413 if name == "__dict__": 5414 return mydict 5415 5416 if name in mydict: 5417 return mydict[name] 5418 5419 object.__getattribute__(self, 'assert_valid')() 5420 5421 value = _get_instance_attr(self, name) 5422 fn = object.__getattribute__(self, '_retrieve_swig_value') 5423 return fn(name, value) 5424 else: 5425 def __getattr__(self, name): 5426 """Get an attribute from this object""" 5427 self.assert_valid() 5428 5429 value = _swig_getattr(self, self.__class__, name) 5430 5431 return self._retrieve_swig_value(name, value) 5432 5433 def __setattr__(self, name, value): 5434 """Set an attribute on this object""" 5435 self.assert_valid() 5436 5437 # Save a copy of the object, so that the garbage 5438 # collector won't kill the object while it's in 5439 # SWIG-land 5440 self.__dict__.setdefault("_members",{})[name] = value 5441 5442 return _set_instance_attr(self, name, value) 5443 5444 5445 def __call__(self, *args): 5446 return svn_auth_invoke_ssl_client_cert_prompt_func(self, *args) 5447 5448svn_auth_ssl_client_cert_prompt_func_t_swigregister = _core.svn_auth_ssl_client_cert_prompt_func_t_swigregister 5449svn_auth_ssl_client_cert_prompt_func_t_swigregister(svn_auth_ssl_client_cert_prompt_func_t) 5450 5451class svn_auth_ssl_client_cert_pw_prompt_func_t(object): 5452 """Proxy of C svn_auth_ssl_client_cert_pw_prompt_func_t struct.""" 5453 5454 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 5455 5456 def __init__(self, *args, **kwargs): 5457 raise AttributeError("No constructor defined") 5458 __repr__ = _swig_repr 5459 def set_parent_pool(self, parent_pool=None): 5460 """Create a new proxy object for TYPE""" 5461 import libsvn.core, weakref 5462 self.__dict__["_parent_pool"] = \ 5463 parent_pool or libsvn.core.application_pool; 5464 if self.__dict__["_parent_pool"]: 5465 self.__dict__["_is_valid"] = weakref.ref( 5466 self.__dict__["_parent_pool"]._is_valid) 5467 5468 def assert_valid(self): 5469 """Assert that this object is using valid pool memory""" 5470 if "_is_valid" in self.__dict__: 5471 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 5472 5473 def _retrieve_swig_value(self, name, value): 5474 # If we got back a different object than we have cached, we need to copy 5475 # all our metadata into it, so that it looks identical to the one 5476 # originally set. 5477 members = self.__dict__.get('_members') 5478 if members is not None and name in members: 5479 _copy_metadata_deep(value, members[name]) 5480 5481 # Verify that the new object is good 5482 _assert_valid_deep(value) 5483 5484 return value 5485 5486 # Attribute access must be intercepted to ensure that objects coming from 5487 # read attribute access match those that are set with write attribute access. 5488 # Specifically the metadata, such as the associated apr_pool object, should 5489 # match the originally assigned object. 5490 # 5491 # For classic classes it is enough to use __getattr__ to intercept swig 5492 # derived attributes. However, with new style classes SWIG makes use of 5493 # descriptors which mean that __getattr__ is never called. Therefore, 5494 # __getattribute__ must be used for the interception. 5495 5496 if _newclass: 5497 def __getattribute__(self, name): 5498 """Manage access to all attributes of this object.""" 5499 5500 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 5501 # items directly present in __dict__ 5502 mydict = object.__getattribute__(self, '__dict__') 5503 5504 if name == "__dict__": 5505 return mydict 5506 5507 if name in mydict: 5508 return mydict[name] 5509 5510 object.__getattribute__(self, 'assert_valid')() 5511 5512 value = _get_instance_attr(self, name) 5513 fn = object.__getattribute__(self, '_retrieve_swig_value') 5514 return fn(name, value) 5515 else: 5516 def __getattr__(self, name): 5517 """Get an attribute from this object""" 5518 self.assert_valid() 5519 5520 value = _swig_getattr(self, self.__class__, name) 5521 5522 return self._retrieve_swig_value(name, value) 5523 5524 def __setattr__(self, name, value): 5525 """Set an attribute on this object""" 5526 self.assert_valid() 5527 5528 # Save a copy of the object, so that the garbage 5529 # collector won't kill the object while it's in 5530 # SWIG-land 5531 self.__dict__.setdefault("_members",{})[name] = value 5532 5533 return _set_instance_attr(self, name, value) 5534 5535 5536 def __call__(self, *args): 5537 return svn_auth_invoke_ssl_client_cert_pw_prompt_func(self, *args) 5538 5539svn_auth_ssl_client_cert_pw_prompt_func_t_swigregister = _core.svn_auth_ssl_client_cert_pw_prompt_func_t_swigregister 5540svn_auth_ssl_client_cert_pw_prompt_func_t_swigregister(svn_auth_ssl_client_cert_pw_prompt_func_t) 5541 5542class svn_auth_plaintext_prompt_func_t(object): 5543 """Proxy of C svn_auth_plaintext_prompt_func_t struct.""" 5544 5545 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 5546 5547 def __init__(self, *args, **kwargs): 5548 raise AttributeError("No constructor defined") 5549 __repr__ = _swig_repr 5550 def set_parent_pool(self, parent_pool=None): 5551 """Create a new proxy object for TYPE""" 5552 import libsvn.core, weakref 5553 self.__dict__["_parent_pool"] = \ 5554 parent_pool or libsvn.core.application_pool; 5555 if self.__dict__["_parent_pool"]: 5556 self.__dict__["_is_valid"] = weakref.ref( 5557 self.__dict__["_parent_pool"]._is_valid) 5558 5559 def assert_valid(self): 5560 """Assert that this object is using valid pool memory""" 5561 if "_is_valid" in self.__dict__: 5562 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 5563 5564 def _retrieve_swig_value(self, name, value): 5565 # If we got back a different object than we have cached, we need to copy 5566 # all our metadata into it, so that it looks identical to the one 5567 # originally set. 5568 members = self.__dict__.get('_members') 5569 if members is not None and name in members: 5570 _copy_metadata_deep(value, members[name]) 5571 5572 # Verify that the new object is good 5573 _assert_valid_deep(value) 5574 5575 return value 5576 5577 # Attribute access must be intercepted to ensure that objects coming from 5578 # read attribute access match those that are set with write attribute access. 5579 # Specifically the metadata, such as the associated apr_pool object, should 5580 # match the originally assigned object. 5581 # 5582 # For classic classes it is enough to use __getattr__ to intercept swig 5583 # derived attributes. However, with new style classes SWIG makes use of 5584 # descriptors which mean that __getattr__ is never called. Therefore, 5585 # __getattribute__ must be used for the interception. 5586 5587 if _newclass: 5588 def __getattribute__(self, name): 5589 """Manage access to all attributes of this object.""" 5590 5591 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 5592 # items directly present in __dict__ 5593 mydict = object.__getattribute__(self, '__dict__') 5594 5595 if name == "__dict__": 5596 return mydict 5597 5598 if name in mydict: 5599 return mydict[name] 5600 5601 object.__getattribute__(self, 'assert_valid')() 5602 5603 value = _get_instance_attr(self, name) 5604 fn = object.__getattribute__(self, '_retrieve_swig_value') 5605 return fn(name, value) 5606 else: 5607 def __getattr__(self, name): 5608 """Get an attribute from this object""" 5609 self.assert_valid() 5610 5611 value = _swig_getattr(self, self.__class__, name) 5612 5613 return self._retrieve_swig_value(name, value) 5614 5615 def __setattr__(self, name, value): 5616 """Set an attribute on this object""" 5617 self.assert_valid() 5618 5619 # Save a copy of the object, so that the garbage 5620 # collector won't kill the object while it's in 5621 # SWIG-land 5622 self.__dict__.setdefault("_members",{})[name] = value 5623 5624 return _set_instance_attr(self, name, value) 5625 5626 5627 def __call__(self, *args): 5628 return svn_auth_invoke_plaintext_prompt_func(self, *args) 5629 5630svn_auth_plaintext_prompt_func_t_swigregister = _core.svn_auth_plaintext_prompt_func_t_swigregister 5631svn_auth_plaintext_prompt_func_t_swigregister(svn_auth_plaintext_prompt_func_t) 5632 5633class svn_auth_plaintext_passphrase_prompt_func_t(object): 5634 """Proxy of C svn_auth_plaintext_passphrase_prompt_func_t struct.""" 5635 5636 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 5637 5638 def __init__(self, *args, **kwargs): 5639 raise AttributeError("No constructor defined") 5640 __repr__ = _swig_repr 5641 def set_parent_pool(self, parent_pool=None): 5642 """Create a new proxy object for TYPE""" 5643 import libsvn.core, weakref 5644 self.__dict__["_parent_pool"] = \ 5645 parent_pool or libsvn.core.application_pool; 5646 if self.__dict__["_parent_pool"]: 5647 self.__dict__["_is_valid"] = weakref.ref( 5648 self.__dict__["_parent_pool"]._is_valid) 5649 5650 def assert_valid(self): 5651 """Assert that this object is using valid pool memory""" 5652 if "_is_valid" in self.__dict__: 5653 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 5654 5655 def _retrieve_swig_value(self, name, value): 5656 # If we got back a different object than we have cached, we need to copy 5657 # all our metadata into it, so that it looks identical to the one 5658 # originally set. 5659 members = self.__dict__.get('_members') 5660 if members is not None and name in members: 5661 _copy_metadata_deep(value, members[name]) 5662 5663 # Verify that the new object is good 5664 _assert_valid_deep(value) 5665 5666 return value 5667 5668 # Attribute access must be intercepted to ensure that objects coming from 5669 # read attribute access match those that are set with write attribute access. 5670 # Specifically the metadata, such as the associated apr_pool object, should 5671 # match the originally assigned object. 5672 # 5673 # For classic classes it is enough to use __getattr__ to intercept swig 5674 # derived attributes. However, with new style classes SWIG makes use of 5675 # descriptors which mean that __getattr__ is never called. Therefore, 5676 # __getattribute__ must be used for the interception. 5677 5678 if _newclass: 5679 def __getattribute__(self, name): 5680 """Manage access to all attributes of this object.""" 5681 5682 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 5683 # items directly present in __dict__ 5684 mydict = object.__getattribute__(self, '__dict__') 5685 5686 if name == "__dict__": 5687 return mydict 5688 5689 if name in mydict: 5690 return mydict[name] 5691 5692 object.__getattribute__(self, 'assert_valid')() 5693 5694 value = _get_instance_attr(self, name) 5695 fn = object.__getattribute__(self, '_retrieve_swig_value') 5696 return fn(name, value) 5697 else: 5698 def __getattr__(self, name): 5699 """Get an attribute from this object""" 5700 self.assert_valid() 5701 5702 value = _swig_getattr(self, self.__class__, name) 5703 5704 return self._retrieve_swig_value(name, value) 5705 5706 def __setattr__(self, name, value): 5707 """Set an attribute on this object""" 5708 self.assert_valid() 5709 5710 # Save a copy of the object, so that the garbage 5711 # collector won't kill the object while it's in 5712 # SWIG-land 5713 self.__dict__.setdefault("_members",{})[name] = value 5714 5715 return _set_instance_attr(self, name, value) 5716 5717 5718 def __call__(self, *args): 5719 return svn_auth_invoke_plaintext_passphrase_prompt_func(self, *args) 5720 5721svn_auth_plaintext_passphrase_prompt_func_t_swigregister = _core.svn_auth_plaintext_passphrase_prompt_func_t_swigregister 5722svn_auth_plaintext_passphrase_prompt_func_t_swigregister(svn_auth_plaintext_passphrase_prompt_func_t) 5723 5724class svn_auth_gnome_keyring_unlock_prompt_func_t(object): 5725 """Proxy of C svn_auth_gnome_keyring_unlock_prompt_func_t struct.""" 5726 5727 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 5728 5729 def __init__(self, *args, **kwargs): 5730 raise AttributeError("No constructor defined") 5731 __repr__ = _swig_repr 5732 def set_parent_pool(self, parent_pool=None): 5733 """Create a new proxy object for TYPE""" 5734 import libsvn.core, weakref 5735 self.__dict__["_parent_pool"] = \ 5736 parent_pool or libsvn.core.application_pool; 5737 if self.__dict__["_parent_pool"]: 5738 self.__dict__["_is_valid"] = weakref.ref( 5739 self.__dict__["_parent_pool"]._is_valid) 5740 5741 def assert_valid(self): 5742 """Assert that this object is using valid pool memory""" 5743 if "_is_valid" in self.__dict__: 5744 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 5745 5746 def _retrieve_swig_value(self, name, value): 5747 # If we got back a different object than we have cached, we need to copy 5748 # all our metadata into it, so that it looks identical to the one 5749 # originally set. 5750 members = self.__dict__.get('_members') 5751 if members is not None and name in members: 5752 _copy_metadata_deep(value, members[name]) 5753 5754 # Verify that the new object is good 5755 _assert_valid_deep(value) 5756 5757 return value 5758 5759 # Attribute access must be intercepted to ensure that objects coming from 5760 # read attribute access match those that are set with write attribute access. 5761 # Specifically the metadata, such as the associated apr_pool object, should 5762 # match the originally assigned object. 5763 # 5764 # For classic classes it is enough to use __getattr__ to intercept swig 5765 # derived attributes. However, with new style classes SWIG makes use of 5766 # descriptors which mean that __getattr__ is never called. Therefore, 5767 # __getattribute__ must be used for the interception. 5768 5769 if _newclass: 5770 def __getattribute__(self, name): 5771 """Manage access to all attributes of this object.""" 5772 5773 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 5774 # items directly present in __dict__ 5775 mydict = object.__getattribute__(self, '__dict__') 5776 5777 if name == "__dict__": 5778 return mydict 5779 5780 if name in mydict: 5781 return mydict[name] 5782 5783 object.__getattribute__(self, 'assert_valid')() 5784 5785 value = _get_instance_attr(self, name) 5786 fn = object.__getattribute__(self, '_retrieve_swig_value') 5787 return fn(name, value) 5788 else: 5789 def __getattr__(self, name): 5790 """Get an attribute from this object""" 5791 self.assert_valid() 5792 5793 value = _swig_getattr(self, self.__class__, name) 5794 5795 return self._retrieve_swig_value(name, value) 5796 5797 def __setattr__(self, name, value): 5798 """Set an attribute on this object""" 5799 self.assert_valid() 5800 5801 # Save a copy of the object, so that the garbage 5802 # collector won't kill the object while it's in 5803 # SWIG-land 5804 self.__dict__.setdefault("_members",{})[name] = value 5805 5806 return _set_instance_attr(self, name, value) 5807 5808 5809 def __call__(self, *args): 5810 return svn_auth_invoke_gnome_keyring_unlock_prompt_func(self, *args) 5811 5812svn_auth_gnome_keyring_unlock_prompt_func_t_swigregister = _core.svn_auth_gnome_keyring_unlock_prompt_func_t_swigregister 5813svn_auth_gnome_keyring_unlock_prompt_func_t_swigregister(svn_auth_gnome_keyring_unlock_prompt_func_t) 5814 5815SVN_CONFIG_CATEGORY_SERVERS = _core.SVN_CONFIG_CATEGORY_SERVERS 5816SVN_CONFIG_SECTION_GROUPS = _core.SVN_CONFIG_SECTION_GROUPS 5817SVN_CONFIG_SECTION_GLOBAL = _core.SVN_CONFIG_SECTION_GLOBAL 5818SVN_CONFIG_OPTION_HTTP_PROXY_HOST = _core.SVN_CONFIG_OPTION_HTTP_PROXY_HOST 5819SVN_CONFIG_OPTION_HTTP_PROXY_PORT = _core.SVN_CONFIG_OPTION_HTTP_PROXY_PORT 5820SVN_CONFIG_OPTION_HTTP_PROXY_USERNAME = _core.SVN_CONFIG_OPTION_HTTP_PROXY_USERNAME 5821SVN_CONFIG_OPTION_HTTP_PROXY_PASSWORD = _core.SVN_CONFIG_OPTION_HTTP_PROXY_PASSWORD 5822SVN_CONFIG_OPTION_HTTP_PROXY_EXCEPTIONS = _core.SVN_CONFIG_OPTION_HTTP_PROXY_EXCEPTIONS 5823SVN_CONFIG_OPTION_HTTP_TIMEOUT = _core.SVN_CONFIG_OPTION_HTTP_TIMEOUT 5824SVN_CONFIG_OPTION_HTTP_COMPRESSION = _core.SVN_CONFIG_OPTION_HTTP_COMPRESSION 5825SVN_CONFIG_OPTION_NEON_DEBUG_MASK = _core.SVN_CONFIG_OPTION_NEON_DEBUG_MASK 5826SVN_CONFIG_OPTION_HTTP_AUTH_TYPES = _core.SVN_CONFIG_OPTION_HTTP_AUTH_TYPES 5827SVN_CONFIG_OPTION_SSL_AUTHORITY_FILES = _core.SVN_CONFIG_OPTION_SSL_AUTHORITY_FILES 5828SVN_CONFIG_OPTION_SSL_TRUST_DEFAULT_CA = _core.SVN_CONFIG_OPTION_SSL_TRUST_DEFAULT_CA 5829SVN_CONFIG_OPTION_SSL_CLIENT_CERT_FILE = _core.SVN_CONFIG_OPTION_SSL_CLIENT_CERT_FILE 5830SVN_CONFIG_OPTION_SSL_CLIENT_CERT_PASSWORD = _core.SVN_CONFIG_OPTION_SSL_CLIENT_CERT_PASSWORD 5831SVN_CONFIG_OPTION_SSL_PKCS11_PROVIDER = _core.SVN_CONFIG_OPTION_SSL_PKCS11_PROVIDER 5832SVN_CONFIG_OPTION_HTTP_LIBRARY = _core.SVN_CONFIG_OPTION_HTTP_LIBRARY 5833SVN_CONFIG_OPTION_STORE_PASSWORDS = _core.SVN_CONFIG_OPTION_STORE_PASSWORDS 5834SVN_CONFIG_OPTION_STORE_PLAINTEXT_PASSWORDS = _core.SVN_CONFIG_OPTION_STORE_PLAINTEXT_PASSWORDS 5835SVN_CONFIG_OPTION_STORE_AUTH_CREDS = _core.SVN_CONFIG_OPTION_STORE_AUTH_CREDS 5836SVN_CONFIG_OPTION_STORE_SSL_CLIENT_CERT_PP = _core.SVN_CONFIG_OPTION_STORE_SSL_CLIENT_CERT_PP 5837SVN_CONFIG_OPTION_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT = _core.SVN_CONFIG_OPTION_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT 5838SVN_CONFIG_OPTION_USERNAME = _core.SVN_CONFIG_OPTION_USERNAME 5839SVN_CONFIG_OPTION_HTTP_BULK_UPDATES = _core.SVN_CONFIG_OPTION_HTTP_BULK_UPDATES 5840SVN_CONFIG_OPTION_HTTP_MAX_CONNECTIONS = _core.SVN_CONFIG_OPTION_HTTP_MAX_CONNECTIONS 5841SVN_CONFIG_OPTION_HTTP_CHUNKED_REQUESTS = _core.SVN_CONFIG_OPTION_HTTP_CHUNKED_REQUESTS 5842SVN_CONFIG_OPTION_SERF_LOG_COMPONENTS = _core.SVN_CONFIG_OPTION_SERF_LOG_COMPONENTS 5843SVN_CONFIG_OPTION_SERF_LOG_LEVEL = _core.SVN_CONFIG_OPTION_SERF_LOG_LEVEL 5844SVN_CONFIG_CATEGORY_CONFIG = _core.SVN_CONFIG_CATEGORY_CONFIG 5845SVN_CONFIG_SECTION_AUTH = _core.SVN_CONFIG_SECTION_AUTH 5846SVN_CONFIG_OPTION_PASSWORD_STORES = _core.SVN_CONFIG_OPTION_PASSWORD_STORES 5847SVN_CONFIG_OPTION_KWALLET_WALLET = _core.SVN_CONFIG_OPTION_KWALLET_WALLET 5848SVN_CONFIG_OPTION_KWALLET_SVN_APPLICATION_NAME_WITH_PID = _core.SVN_CONFIG_OPTION_KWALLET_SVN_APPLICATION_NAME_WITH_PID 5849SVN_CONFIG_OPTION_SSL_CLIENT_CERT_FILE_PROMPT = _core.SVN_CONFIG_OPTION_SSL_CLIENT_CERT_FILE_PROMPT 5850SVN_CONFIG_SECTION_HELPERS = _core.SVN_CONFIG_SECTION_HELPERS 5851SVN_CONFIG_OPTION_EDITOR_CMD = _core.SVN_CONFIG_OPTION_EDITOR_CMD 5852SVN_CONFIG_OPTION_DIFF_CMD = _core.SVN_CONFIG_OPTION_DIFF_CMD 5853SVN_CONFIG_OPTION_DIFF_EXTENSIONS = _core.SVN_CONFIG_OPTION_DIFF_EXTENSIONS 5854SVN_CONFIG_OPTION_DIFF3_CMD = _core.SVN_CONFIG_OPTION_DIFF3_CMD 5855SVN_CONFIG_OPTION_DIFF3_HAS_PROGRAM_ARG = _core.SVN_CONFIG_OPTION_DIFF3_HAS_PROGRAM_ARG 5856SVN_CONFIG_OPTION_MERGE_TOOL_CMD = _core.SVN_CONFIG_OPTION_MERGE_TOOL_CMD 5857SVN_CONFIG_SECTION_MISCELLANY = _core.SVN_CONFIG_SECTION_MISCELLANY 5858SVN_CONFIG_OPTION_GLOBAL_IGNORES = _core.SVN_CONFIG_OPTION_GLOBAL_IGNORES 5859SVN_CONFIG_OPTION_LOG_ENCODING = _core.SVN_CONFIG_OPTION_LOG_ENCODING 5860SVN_CONFIG_OPTION_USE_COMMIT_TIMES = _core.SVN_CONFIG_OPTION_USE_COMMIT_TIMES 5861SVN_CONFIG_OPTION_TEMPLATE_ROOT = _core.SVN_CONFIG_OPTION_TEMPLATE_ROOT 5862SVN_CONFIG_OPTION_ENABLE_AUTO_PROPS = _core.SVN_CONFIG_OPTION_ENABLE_AUTO_PROPS 5863SVN_CONFIG_OPTION_ENABLE_MAGIC_FILE = _core.SVN_CONFIG_OPTION_ENABLE_MAGIC_FILE 5864SVN_CONFIG_OPTION_NO_UNLOCK = _core.SVN_CONFIG_OPTION_NO_UNLOCK 5865SVN_CONFIG_OPTION_MIMETYPES_FILE = _core.SVN_CONFIG_OPTION_MIMETYPES_FILE 5866SVN_CONFIG_OPTION_PRESERVED_CF_EXTS = _core.SVN_CONFIG_OPTION_PRESERVED_CF_EXTS 5867SVN_CONFIG_OPTION_INTERACTIVE_CONFLICTS = _core.SVN_CONFIG_OPTION_INTERACTIVE_CONFLICTS 5868SVN_CONFIG_OPTION_MEMORY_CACHE_SIZE = _core.SVN_CONFIG_OPTION_MEMORY_CACHE_SIZE 5869SVN_CONFIG_OPTION_DIFF_IGNORE_CONTENT_TYPE = _core.SVN_CONFIG_OPTION_DIFF_IGNORE_CONTENT_TYPE 5870SVN_CONFIG_SECTION_TUNNELS = _core.SVN_CONFIG_SECTION_TUNNELS 5871SVN_CONFIG_SECTION_AUTO_PROPS = _core.SVN_CONFIG_SECTION_AUTO_PROPS 5872SVN_CONFIG_SECTION_WORKING_COPY = _core.SVN_CONFIG_SECTION_WORKING_COPY 5873SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE = _core.SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE 5874SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE_CLIENTS = _core.SVN_CONFIG_OPTION_SQLITE_EXCLUSIVE_CLIENTS 5875SVN_CONFIG_OPTION_SQLITE_BUSY_TIMEOUT = _core.SVN_CONFIG_OPTION_SQLITE_BUSY_TIMEOUT 5876SVN_CONFIG_SECTION_GENERAL = _core.SVN_CONFIG_SECTION_GENERAL 5877SVN_CONFIG_OPTION_ANON_ACCESS = _core.SVN_CONFIG_OPTION_ANON_ACCESS 5878SVN_CONFIG_OPTION_AUTH_ACCESS = _core.SVN_CONFIG_OPTION_AUTH_ACCESS 5879SVN_CONFIG_OPTION_PASSWORD_DB = _core.SVN_CONFIG_OPTION_PASSWORD_DB 5880SVN_CONFIG_OPTION_REALM = _core.SVN_CONFIG_OPTION_REALM 5881SVN_CONFIG_OPTION_AUTHZ_DB = _core.SVN_CONFIG_OPTION_AUTHZ_DB 5882SVN_CONFIG_OPTION_GROUPS_DB = _core.SVN_CONFIG_OPTION_GROUPS_DB 5883SVN_CONFIG_OPTION_FORCE_USERNAME_CASE = _core.SVN_CONFIG_OPTION_FORCE_USERNAME_CASE 5884SVN_CONFIG_OPTION_HOOKS_ENV = _core.SVN_CONFIG_OPTION_HOOKS_ENV 5885SVN_CONFIG_SECTION_SASL = _core.SVN_CONFIG_SECTION_SASL 5886SVN_CONFIG_OPTION_USE_SASL = _core.SVN_CONFIG_OPTION_USE_SASL 5887SVN_CONFIG_OPTION_MIN_SSF = _core.SVN_CONFIG_OPTION_MIN_SSF 5888SVN_CONFIG_OPTION_MAX_SSF = _core.SVN_CONFIG_OPTION_MAX_SSF 5889SVN_CONFIG_SECTION_USERS = _core.SVN_CONFIG_SECTION_USERS 5890SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_1 = _core.SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_1 5891SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_2 = _core.SVN_CONFIG__DEFAULT_GLOBAL_IGNORES_LINE_2 5892SVN_CONFIG_DEFAULT_GLOBAL_IGNORES = _core.SVN_CONFIG_DEFAULT_GLOBAL_IGNORES 5893SVN_CONFIG_TRUE = _core.SVN_CONFIG_TRUE 5894SVN_CONFIG_FALSE = _core.SVN_CONFIG_FALSE 5895SVN_CONFIG_ASK = _core.SVN_CONFIG_ASK 5896SVN_CONFIG_DEFAULT_OPTION_STORE_PASSWORDS = _core.SVN_CONFIG_DEFAULT_OPTION_STORE_PASSWORDS 5897SVN_CONFIG_DEFAULT_OPTION_STORE_PLAINTEXT_PASSWORDS = _core.SVN_CONFIG_DEFAULT_OPTION_STORE_PLAINTEXT_PASSWORDS 5898SVN_CONFIG_DEFAULT_OPTION_STORE_AUTH_CREDS = _core.SVN_CONFIG_DEFAULT_OPTION_STORE_AUTH_CREDS 5899SVN_CONFIG_DEFAULT_OPTION_STORE_SSL_CLIENT_CERT_PP = _core.SVN_CONFIG_DEFAULT_OPTION_STORE_SSL_CLIENT_CERT_PP 5900SVN_CONFIG_DEFAULT_OPTION_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT = _core.SVN_CONFIG_DEFAULT_OPTION_STORE_SSL_CLIENT_CERT_PP_PLAINTEXT 5901SVN_CONFIG_DEFAULT_OPTION_HTTP_MAX_CONNECTIONS = _core.SVN_CONFIG_DEFAULT_OPTION_HTTP_MAX_CONNECTIONS 5902 5903def svn_config_get_config(*args) -> "apr_hash_t **": 5904 """svn_config_get_config(char const * config_dir, apr_pool_t pool) -> svn_error_t""" 5905 return _core.svn_config_get_config(*args) 5906 5907def svn_config_create2(*args) -> "svn_config_t **": 5908 """svn_config_create2(svn_boolean_t section_names_case_sensitive, svn_boolean_t option_names_case_sensitive, apr_pool_t result_pool) -> svn_error_t""" 5909 return _core.svn_config_create2(*args) 5910 5911def svn_config_create(*args) -> "svn_config_t **": 5912 """svn_config_create(svn_boolean_t section_names_case_sensitive, apr_pool_t result_pool) -> svn_error_t""" 5913 return _core.svn_config_create(*args) 5914 5915def svn_config_read3(*args) -> "svn_config_t **": 5916 """svn_config_read3(char const * file, svn_boolean_t must_exist, svn_boolean_t section_names_case_sensitive, svn_boolean_t option_names_case_sensitive, apr_pool_t result_pool) -> svn_error_t""" 5917 return _core.svn_config_read3(*args) 5918 5919def svn_config_read2(*args) -> "svn_config_t **": 5920 """svn_config_read2(char const * file, svn_boolean_t must_exist, svn_boolean_t section_names_case_sensitive, apr_pool_t result_pool) -> svn_error_t""" 5921 return _core.svn_config_read2(*args) 5922 5923def svn_config_read(*args) -> "svn_config_t **": 5924 """svn_config_read(char const * file, svn_boolean_t must_exist, apr_pool_t result_pool) -> svn_error_t""" 5925 return _core.svn_config_read(*args) 5926 5927def svn_config_parse(*args) -> "svn_config_t **": 5928 """svn_config_parse(svn_stream_t * stream, svn_boolean_t section_names_case_sensitive, svn_boolean_t option_names_case_sensitive, apr_pool_t result_pool) -> svn_error_t""" 5929 return _core.svn_config_parse(*args) 5930 5931def svn_config_merge(cfg: 'svn_config_t *', file: 'char const *', must_exist: 'svn_boolean_t') -> "svn_error_t *": 5932 """svn_config_merge(svn_config_t * cfg, char const * file, svn_boolean_t must_exist) -> svn_error_t""" 5933 return _core.svn_config_merge(cfg, file, must_exist) 5934 5935def svn_config_get(cfg: 'svn_config_t *', section: 'char const *', option: 'char const *', default_value: 'char const *') -> "char const **": 5936 """svn_config_get(svn_config_t * cfg, char const * section, char const * option, char const * default_value)""" 5937 return _core.svn_config_get(cfg, section, option, default_value) 5938 5939def svn_config_set(cfg: 'svn_config_t *', section: 'char const *', option: 'char const *', value: 'char const *') -> "void": 5940 """svn_config_set(svn_config_t * cfg, char const * section, char const * option, char const * value)""" 5941 return _core.svn_config_set(cfg, section, option, value) 5942 5943def svn_config_get_bool(cfg: 'svn_config_t *', section: 'char const *', option: 'char const *', default_value: 'svn_boolean_t') -> "svn_boolean_t *": 5944 """svn_config_get_bool(svn_config_t * cfg, char const * section, char const * option, svn_boolean_t default_value) -> svn_error_t""" 5945 return _core.svn_config_get_bool(cfg, section, option, default_value) 5946 5947def svn_config_set_bool(cfg: 'svn_config_t *', section: 'char const *', option: 'char const *', value: 'svn_boolean_t') -> "void": 5948 """svn_config_set_bool(svn_config_t * cfg, char const * section, char const * option, svn_boolean_t value)""" 5949 return _core.svn_config_set_bool(cfg, section, option, value) 5950 5951def svn_config_get_int64(cfg: 'svn_config_t *', section: 'char const *', option: 'char const *', default_value: 'apr_int64_t') -> "apr_int64_t *": 5952 """svn_config_get_int64(svn_config_t * cfg, char const * section, char const * option, apr_int64_t default_value) -> svn_error_t""" 5953 return _core.svn_config_get_int64(cfg, section, option, default_value) 5954 5955def svn_config_set_int64(cfg: 'svn_config_t *', section: 'char const *', option: 'char const *', value: 'apr_int64_t') -> "void": 5956 """svn_config_set_int64(svn_config_t * cfg, char const * section, char const * option, apr_int64_t value)""" 5957 return _core.svn_config_set_int64(cfg, section, option, value) 5958 5959def svn_config_get_yes_no_ask(cfg: 'svn_config_t *', section: 'char const *', option: 'char const *', default_value: 'char const *') -> "char const **": 5960 """svn_config_get_yes_no_ask(svn_config_t * cfg, char const * section, char const * option, char const * default_value) -> svn_error_t""" 5961 return _core.svn_config_get_yes_no_ask(cfg, section, option, default_value) 5962 5963def svn_config_get_tristate(cfg: 'svn_config_t *', valuep: 'svn_tristate_t *', section: 'char const *', option: 'char const *', unknown_value: 'char const *', default_value: 'svn_tristate_t') -> "svn_error_t *": 5964 """svn_config_get_tristate(svn_config_t * cfg, svn_tristate_t * valuep, char const * section, char const * option, char const * unknown_value, svn_tristate_t default_value) -> svn_error_t""" 5965 return _core.svn_config_get_tristate(cfg, valuep, section, option, unknown_value, default_value) 5966 5967def svn_config_enumerate_sections(cfg: 'svn_config_t *', callback: 'svn_config_section_enumerator_t', baton: 'void *') -> "int": 5968 """svn_config_enumerate_sections(svn_config_t * cfg, svn_config_section_enumerator_t callback, void * baton) -> int""" 5969 return _core.svn_config_enumerate_sections(cfg, callback, baton) 5970 5971def svn_config_enumerate_sections2(*args) -> "int": 5972 """svn_config_enumerate_sections2(svn_config_t * cfg, svn_config_section_enumerator2_t callback, apr_pool_t pool) -> int""" 5973 return _core.svn_config_enumerate_sections2(*args) 5974 5975def svn_config_enumerate(cfg: 'svn_config_t *', section: 'char const *', callback: 'svn_config_enumerator_t', baton: 'void *') -> "int": 5976 """svn_config_enumerate(svn_config_t * cfg, char const * section, svn_config_enumerator_t callback, void * baton) -> int""" 5977 return _core.svn_config_enumerate(cfg, section, callback, baton) 5978 5979def svn_config_enumerate2(*args) -> "int": 5980 """svn_config_enumerate2(svn_config_t * cfg, char const * section, svn_config_enumerator2_t callback, apr_pool_t pool) -> int""" 5981 return _core.svn_config_enumerate2(*args) 5982 5983def svn_config_has_section(cfg: 'svn_config_t *', section: 'char const *') -> "svn_boolean_t": 5984 """svn_config_has_section(svn_config_t * cfg, char const * section) -> svn_boolean_t""" 5985 return _core.svn_config_has_section(cfg, section) 5986 5987def svn_config_find_group(*args) -> "char const *": 5988 """svn_config_find_group(svn_config_t * cfg, char const * key, char const * master_section, apr_pool_t pool) -> char const *""" 5989 return _core.svn_config_find_group(*args) 5990 5991def svn_config_get_server_setting(cfg: 'svn_config_t *', server_group: 'char const *', option_name: 'char const *', default_value: 'char const *') -> "char const *": 5992 """svn_config_get_server_setting(svn_config_t * cfg, char const * server_group, char const * option_name, char const * default_value) -> char const *""" 5993 return _core.svn_config_get_server_setting(cfg, server_group, option_name, default_value) 5994 5995def svn_config_get_server_setting_int(*args) -> "apr_int64_t *": 5996 """svn_config_get_server_setting_int(svn_config_t * cfg, char const * server_group, char const * option_name, apr_int64_t default_value, apr_pool_t pool) -> svn_error_t""" 5997 return _core.svn_config_get_server_setting_int(*args) 5998 5999def svn_config_get_server_setting_bool(cfg: 'svn_config_t *', server_group: 'char const *', option_name: 'char const *', default_value: 'svn_boolean_t') -> "svn_boolean_t *": 6000 """svn_config_get_server_setting_bool(svn_config_t * cfg, char const * server_group, char const * option_name, svn_boolean_t default_value) -> svn_error_t""" 6001 return _core.svn_config_get_server_setting_bool(cfg, server_group, option_name, default_value) 6002 6003def svn_config_ensure(*args) -> "svn_error_t *": 6004 """svn_config_ensure(char const * config_dir, apr_pool_t pool) -> svn_error_t""" 6005 return _core.svn_config_ensure(*args) 6006SVN_CONFIG_REALMSTRING_KEY = _core.SVN_CONFIG_REALMSTRING_KEY 6007SVN_CONFIG_AUTHN_USERNAME_KEY = _core.SVN_CONFIG_AUTHN_USERNAME_KEY 6008SVN_CONFIG_AUTHN_PASSWORD_KEY = _core.SVN_CONFIG_AUTHN_PASSWORD_KEY 6009SVN_CONFIG_AUTHN_PASSPHRASE_KEY = _core.SVN_CONFIG_AUTHN_PASSPHRASE_KEY 6010SVN_CONFIG_AUTHN_PASSTYPE_KEY = _core.SVN_CONFIG_AUTHN_PASSTYPE_KEY 6011SVN_CONFIG_AUTHN_ASCII_CERT_KEY = _core.SVN_CONFIG_AUTHN_ASCII_CERT_KEY 6012SVN_CONFIG_AUTHN_FAILURES_KEY = _core.SVN_CONFIG_AUTHN_FAILURES_KEY 6013 6014def svn_config_read_auth_data(*args) -> "apr_hash_t **": 6015 """svn_config_read_auth_data(char const * cred_kind, char const * realmstring, char const * config_dir, apr_pool_t pool) -> svn_error_t""" 6016 return _core.svn_config_read_auth_data(*args) 6017 6018def svn_config_write_auth_data(*args) -> "svn_error_t *": 6019 """svn_config_write_auth_data(apr_hash_t hash, char const * cred_kind, char const * realmstring, char const * config_dir, apr_pool_t pool) -> svn_error_t""" 6020 return _core.svn_config_write_auth_data(*args) 6021 6022def svn_config_walk_auth_data(*args) -> "svn_error_t *": 6023 """svn_config_walk_auth_data(char const * config_dir, svn_config_auth_walk_func_t walk_func, apr_pool_t scratch_pool) -> svn_error_t""" 6024 return _core.svn_config_walk_auth_data(*args) 6025 6026def svn_config_get_user_config_path(*args) -> "char const **": 6027 """svn_config_get_user_config_path(char const * config_dir, char const * fname, apr_pool_t pool) -> svn_error_t""" 6028 return _core.svn_config_get_user_config_path(*args) 6029 6030def svn_config_dup(*args) -> "svn_config_t **": 6031 """svn_config_dup(svn_config_t const * src, apr_pool_t pool) -> svn_error_t""" 6032 return _core.svn_config_dup(*args) 6033 6034def svn_config_copy_config(*args) -> "apr_hash_t **": 6035 """svn_config_copy_config(apr_hash_t src_hash, apr_pool_t pool) -> svn_error_t""" 6036 return _core.svn_config_copy_config(*args) 6037class svn_config_t(object): 6038 """Proxy of C svn_config_t struct.""" 6039 6040 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 6041 6042 def __init__(self, *args, **kwargs): 6043 raise AttributeError("No constructor defined") 6044 __repr__ = _swig_repr 6045 def set_parent_pool(self, parent_pool=None): 6046 """Create a new proxy object for TYPE""" 6047 import libsvn.core, weakref 6048 self.__dict__["_parent_pool"] = \ 6049 parent_pool or libsvn.core.application_pool; 6050 if self.__dict__["_parent_pool"]: 6051 self.__dict__["_is_valid"] = weakref.ref( 6052 self.__dict__["_parent_pool"]._is_valid) 6053 6054 def assert_valid(self): 6055 """Assert that this object is using valid pool memory""" 6056 if "_is_valid" in self.__dict__: 6057 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 6058 6059 def _retrieve_swig_value(self, name, value): 6060 # If we got back a different object than we have cached, we need to copy 6061 # all our metadata into it, so that it looks identical to the one 6062 # originally set. 6063 members = self.__dict__.get('_members') 6064 if members is not None and name in members: 6065 _copy_metadata_deep(value, members[name]) 6066 6067 # Verify that the new object is good 6068 _assert_valid_deep(value) 6069 6070 return value 6071 6072 # Attribute access must be intercepted to ensure that objects coming from 6073 # read attribute access match those that are set with write attribute access. 6074 # Specifically the metadata, such as the associated apr_pool object, should 6075 # match the originally assigned object. 6076 # 6077 # For classic classes it is enough to use __getattr__ to intercept swig 6078 # derived attributes. However, with new style classes SWIG makes use of 6079 # descriptors which mean that __getattr__ is never called. Therefore, 6080 # __getattribute__ must be used for the interception. 6081 6082 if _newclass: 6083 def __getattribute__(self, name): 6084 """Manage access to all attributes of this object.""" 6085 6086 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 6087 # items directly present in __dict__ 6088 mydict = object.__getattribute__(self, '__dict__') 6089 6090 if name == "__dict__": 6091 return mydict 6092 6093 if name in mydict: 6094 return mydict[name] 6095 6096 object.__getattribute__(self, 'assert_valid')() 6097 6098 value = _get_instance_attr(self, name) 6099 fn = object.__getattribute__(self, '_retrieve_swig_value') 6100 return fn(name, value) 6101 else: 6102 def __getattr__(self, name): 6103 """Get an attribute from this object""" 6104 self.assert_valid() 6105 6106 value = _swig_getattr(self, self.__class__, name) 6107 6108 return self._retrieve_swig_value(name, value) 6109 6110 def __setattr__(self, name, value): 6111 """Set an attribute on this object""" 6112 self.assert_valid() 6113 6114 # Save a copy of the object, so that the garbage 6115 # collector won't kill the object while it's in 6116 # SWIG-land 6117 self.__dict__.setdefault("_members",{})[name] = value 6118 6119 return _set_instance_attr(self, name, value) 6120 6121svn_config_t_swigregister = _core.svn_config_t_swigregister 6122svn_config_t_swigregister(svn_config_t) 6123 6124 6125def svn_config_invoke_section_enumerator(_obj: 'svn_config_section_enumerator_t', name: 'char const *', baton: 'void *') -> "svn_boolean_t": 6126 """svn_config_invoke_section_enumerator(svn_config_section_enumerator_t _obj, char const * name, void * baton) -> svn_boolean_t""" 6127 return _core.svn_config_invoke_section_enumerator(_obj, name, baton) 6128 6129def svn_config_invoke_section_enumerator2(*args) -> "svn_boolean_t": 6130 """svn_config_invoke_section_enumerator2(svn_config_section_enumerator2_t _obj, char const * name, void * baton, apr_pool_t pool) -> svn_boolean_t""" 6131 return _core.svn_config_invoke_section_enumerator2(*args) 6132 6133def svn_config_invoke_enumerator(_obj: 'svn_config_enumerator_t', name: 'char const *', value: 'char const *', baton: 'void *') -> "svn_boolean_t": 6134 """svn_config_invoke_enumerator(svn_config_enumerator_t _obj, char const * name, char const * value, void * baton) -> svn_boolean_t""" 6135 return _core.svn_config_invoke_enumerator(_obj, name, value, baton) 6136 6137def svn_config_invoke_enumerator2(*args) -> "svn_boolean_t": 6138 """svn_config_invoke_enumerator2(svn_config_enumerator2_t _obj, char const * name, char const * value, void * baton, apr_pool_t pool) -> svn_boolean_t""" 6139 return _core.svn_config_invoke_enumerator2(*args) 6140 6141def svn_config_invoke_auth_walk_func(*args) -> "svn_boolean_t *": 6142 """svn_config_invoke_auth_walk_func(svn_config_auth_walk_func_t _obj, void * walk_baton, char const * cred_kind, char const * realmstring, apr_hash_t hash, apr_pool_t scratch_pool) -> svn_error_t""" 6143 return _core.svn_config_invoke_auth_walk_func(*args) 6144class svn_config_section_enumerator_t(object): 6145 """Proxy of C svn_config_section_enumerator_t struct.""" 6146 6147 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 6148 6149 def __init__(self, *args, **kwargs): 6150 raise AttributeError("No constructor defined") 6151 __repr__ = _swig_repr 6152 def set_parent_pool(self, parent_pool=None): 6153 """Create a new proxy object for TYPE""" 6154 import libsvn.core, weakref 6155 self.__dict__["_parent_pool"] = \ 6156 parent_pool or libsvn.core.application_pool; 6157 if self.__dict__["_parent_pool"]: 6158 self.__dict__["_is_valid"] = weakref.ref( 6159 self.__dict__["_parent_pool"]._is_valid) 6160 6161 def assert_valid(self): 6162 """Assert that this object is using valid pool memory""" 6163 if "_is_valid" in self.__dict__: 6164 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 6165 6166 def _retrieve_swig_value(self, name, value): 6167 # If we got back a different object than we have cached, we need to copy 6168 # all our metadata into it, so that it looks identical to the one 6169 # originally set. 6170 members = self.__dict__.get('_members') 6171 if members is not None and name in members: 6172 _copy_metadata_deep(value, members[name]) 6173 6174 # Verify that the new object is good 6175 _assert_valid_deep(value) 6176 6177 return value 6178 6179 # Attribute access must be intercepted to ensure that objects coming from 6180 # read attribute access match those that are set with write attribute access. 6181 # Specifically the metadata, such as the associated apr_pool object, should 6182 # match the originally assigned object. 6183 # 6184 # For classic classes it is enough to use __getattr__ to intercept swig 6185 # derived attributes. However, with new style classes SWIG makes use of 6186 # descriptors which mean that __getattr__ is never called. Therefore, 6187 # __getattribute__ must be used for the interception. 6188 6189 if _newclass: 6190 def __getattribute__(self, name): 6191 """Manage access to all attributes of this object.""" 6192 6193 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 6194 # items directly present in __dict__ 6195 mydict = object.__getattribute__(self, '__dict__') 6196 6197 if name == "__dict__": 6198 return mydict 6199 6200 if name in mydict: 6201 return mydict[name] 6202 6203 object.__getattribute__(self, 'assert_valid')() 6204 6205 value = _get_instance_attr(self, name) 6206 fn = object.__getattribute__(self, '_retrieve_swig_value') 6207 return fn(name, value) 6208 else: 6209 def __getattr__(self, name): 6210 """Get an attribute from this object""" 6211 self.assert_valid() 6212 6213 value = _swig_getattr(self, self.__class__, name) 6214 6215 return self._retrieve_swig_value(name, value) 6216 6217 def __setattr__(self, name, value): 6218 """Set an attribute on this object""" 6219 self.assert_valid() 6220 6221 # Save a copy of the object, so that the garbage 6222 # collector won't kill the object while it's in 6223 # SWIG-land 6224 self.__dict__.setdefault("_members",{})[name] = value 6225 6226 return _set_instance_attr(self, name, value) 6227 6228 6229 def __call__(self, *args): 6230 return svn_config_invoke_section_enumerator(self, *args) 6231 6232svn_config_section_enumerator_t_swigregister = _core.svn_config_section_enumerator_t_swigregister 6233svn_config_section_enumerator_t_swigregister(svn_config_section_enumerator_t) 6234 6235class svn_config_section_enumerator2_t(object): 6236 """Proxy of C svn_config_section_enumerator2_t struct.""" 6237 6238 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 6239 6240 def __init__(self, *args, **kwargs): 6241 raise AttributeError("No constructor defined") 6242 __repr__ = _swig_repr 6243 def set_parent_pool(self, parent_pool=None): 6244 """Create a new proxy object for TYPE""" 6245 import libsvn.core, weakref 6246 self.__dict__["_parent_pool"] = \ 6247 parent_pool or libsvn.core.application_pool; 6248 if self.__dict__["_parent_pool"]: 6249 self.__dict__["_is_valid"] = weakref.ref( 6250 self.__dict__["_parent_pool"]._is_valid) 6251 6252 def assert_valid(self): 6253 """Assert that this object is using valid pool memory""" 6254 if "_is_valid" in self.__dict__: 6255 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 6256 6257 def _retrieve_swig_value(self, name, value): 6258 # If we got back a different object than we have cached, we need to copy 6259 # all our metadata into it, so that it looks identical to the one 6260 # originally set. 6261 members = self.__dict__.get('_members') 6262 if members is not None and name in members: 6263 _copy_metadata_deep(value, members[name]) 6264 6265 # Verify that the new object is good 6266 _assert_valid_deep(value) 6267 6268 return value 6269 6270 # Attribute access must be intercepted to ensure that objects coming from 6271 # read attribute access match those that are set with write attribute access. 6272 # Specifically the metadata, such as the associated apr_pool object, should 6273 # match the originally assigned object. 6274 # 6275 # For classic classes it is enough to use __getattr__ to intercept swig 6276 # derived attributes. However, with new style classes SWIG makes use of 6277 # descriptors which mean that __getattr__ is never called. Therefore, 6278 # __getattribute__ must be used for the interception. 6279 6280 if _newclass: 6281 def __getattribute__(self, name): 6282 """Manage access to all attributes of this object.""" 6283 6284 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 6285 # items directly present in __dict__ 6286 mydict = object.__getattribute__(self, '__dict__') 6287 6288 if name == "__dict__": 6289 return mydict 6290 6291 if name in mydict: 6292 return mydict[name] 6293 6294 object.__getattribute__(self, 'assert_valid')() 6295 6296 value = _get_instance_attr(self, name) 6297 fn = object.__getattribute__(self, '_retrieve_swig_value') 6298 return fn(name, value) 6299 else: 6300 def __getattr__(self, name): 6301 """Get an attribute from this object""" 6302 self.assert_valid() 6303 6304 value = _swig_getattr(self, self.__class__, name) 6305 6306 return self._retrieve_swig_value(name, value) 6307 6308 def __setattr__(self, name, value): 6309 """Set an attribute on this object""" 6310 self.assert_valid() 6311 6312 # Save a copy of the object, so that the garbage 6313 # collector won't kill the object while it's in 6314 # SWIG-land 6315 self.__dict__.setdefault("_members",{})[name] = value 6316 6317 return _set_instance_attr(self, name, value) 6318 6319 6320 def __call__(self, *args): 6321 return svn_config_invoke_section_enumerator2(self, *args) 6322 6323svn_config_section_enumerator2_t_swigregister = _core.svn_config_section_enumerator2_t_swigregister 6324svn_config_section_enumerator2_t_swigregister(svn_config_section_enumerator2_t) 6325 6326class svn_config_enumerator_t(object): 6327 """Proxy of C svn_config_enumerator_t struct.""" 6328 6329 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 6330 6331 def __init__(self, *args, **kwargs): 6332 raise AttributeError("No constructor defined") 6333 __repr__ = _swig_repr 6334 def set_parent_pool(self, parent_pool=None): 6335 """Create a new proxy object for TYPE""" 6336 import libsvn.core, weakref 6337 self.__dict__["_parent_pool"] = \ 6338 parent_pool or libsvn.core.application_pool; 6339 if self.__dict__["_parent_pool"]: 6340 self.__dict__["_is_valid"] = weakref.ref( 6341 self.__dict__["_parent_pool"]._is_valid) 6342 6343 def assert_valid(self): 6344 """Assert that this object is using valid pool memory""" 6345 if "_is_valid" in self.__dict__: 6346 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 6347 6348 def _retrieve_swig_value(self, name, value): 6349 # If we got back a different object than we have cached, we need to copy 6350 # all our metadata into it, so that it looks identical to the one 6351 # originally set. 6352 members = self.__dict__.get('_members') 6353 if members is not None and name in members: 6354 _copy_metadata_deep(value, members[name]) 6355 6356 # Verify that the new object is good 6357 _assert_valid_deep(value) 6358 6359 return value 6360 6361 # Attribute access must be intercepted to ensure that objects coming from 6362 # read attribute access match those that are set with write attribute access. 6363 # Specifically the metadata, such as the associated apr_pool object, should 6364 # match the originally assigned object. 6365 # 6366 # For classic classes it is enough to use __getattr__ to intercept swig 6367 # derived attributes. However, with new style classes SWIG makes use of 6368 # descriptors which mean that __getattr__ is never called. Therefore, 6369 # __getattribute__ must be used for the interception. 6370 6371 if _newclass: 6372 def __getattribute__(self, name): 6373 """Manage access to all attributes of this object.""" 6374 6375 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 6376 # items directly present in __dict__ 6377 mydict = object.__getattribute__(self, '__dict__') 6378 6379 if name == "__dict__": 6380 return mydict 6381 6382 if name in mydict: 6383 return mydict[name] 6384 6385 object.__getattribute__(self, 'assert_valid')() 6386 6387 value = _get_instance_attr(self, name) 6388 fn = object.__getattribute__(self, '_retrieve_swig_value') 6389 return fn(name, value) 6390 else: 6391 def __getattr__(self, name): 6392 """Get an attribute from this object""" 6393 self.assert_valid() 6394 6395 value = _swig_getattr(self, self.__class__, name) 6396 6397 return self._retrieve_swig_value(name, value) 6398 6399 def __setattr__(self, name, value): 6400 """Set an attribute on this object""" 6401 self.assert_valid() 6402 6403 # Save a copy of the object, so that the garbage 6404 # collector won't kill the object while it's in 6405 # SWIG-land 6406 self.__dict__.setdefault("_members",{})[name] = value 6407 6408 return _set_instance_attr(self, name, value) 6409 6410 6411 def __call__(self, *args): 6412 return svn_config_invoke_enumerator(self, *args) 6413 6414svn_config_enumerator_t_swigregister = _core.svn_config_enumerator_t_swigregister 6415svn_config_enumerator_t_swigregister(svn_config_enumerator_t) 6416 6417class svn_config_enumerator2_t(object): 6418 """Proxy of C svn_config_enumerator2_t struct.""" 6419 6420 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 6421 6422 def __init__(self, *args, **kwargs): 6423 raise AttributeError("No constructor defined") 6424 __repr__ = _swig_repr 6425 def set_parent_pool(self, parent_pool=None): 6426 """Create a new proxy object for TYPE""" 6427 import libsvn.core, weakref 6428 self.__dict__["_parent_pool"] = \ 6429 parent_pool or libsvn.core.application_pool; 6430 if self.__dict__["_parent_pool"]: 6431 self.__dict__["_is_valid"] = weakref.ref( 6432 self.__dict__["_parent_pool"]._is_valid) 6433 6434 def assert_valid(self): 6435 """Assert that this object is using valid pool memory""" 6436 if "_is_valid" in self.__dict__: 6437 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 6438 6439 def _retrieve_swig_value(self, name, value): 6440 # If we got back a different object than we have cached, we need to copy 6441 # all our metadata into it, so that it looks identical to the one 6442 # originally set. 6443 members = self.__dict__.get('_members') 6444 if members is not None and name in members: 6445 _copy_metadata_deep(value, members[name]) 6446 6447 # Verify that the new object is good 6448 _assert_valid_deep(value) 6449 6450 return value 6451 6452 # Attribute access must be intercepted to ensure that objects coming from 6453 # read attribute access match those that are set with write attribute access. 6454 # Specifically the metadata, such as the associated apr_pool object, should 6455 # match the originally assigned object. 6456 # 6457 # For classic classes it is enough to use __getattr__ to intercept swig 6458 # derived attributes. However, with new style classes SWIG makes use of 6459 # descriptors which mean that __getattr__ is never called. Therefore, 6460 # __getattribute__ must be used for the interception. 6461 6462 if _newclass: 6463 def __getattribute__(self, name): 6464 """Manage access to all attributes of this object.""" 6465 6466 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 6467 # items directly present in __dict__ 6468 mydict = object.__getattribute__(self, '__dict__') 6469 6470 if name == "__dict__": 6471 return mydict 6472 6473 if name in mydict: 6474 return mydict[name] 6475 6476 object.__getattribute__(self, 'assert_valid')() 6477 6478 value = _get_instance_attr(self, name) 6479 fn = object.__getattribute__(self, '_retrieve_swig_value') 6480 return fn(name, value) 6481 else: 6482 def __getattr__(self, name): 6483 """Get an attribute from this object""" 6484 self.assert_valid() 6485 6486 value = _swig_getattr(self, self.__class__, name) 6487 6488 return self._retrieve_swig_value(name, value) 6489 6490 def __setattr__(self, name, value): 6491 """Set an attribute on this object""" 6492 self.assert_valid() 6493 6494 # Save a copy of the object, so that the garbage 6495 # collector won't kill the object while it's in 6496 # SWIG-land 6497 self.__dict__.setdefault("_members",{})[name] = value 6498 6499 return _set_instance_attr(self, name, value) 6500 6501 6502 def __call__(self, *args): 6503 return svn_config_invoke_enumerator2(self, *args) 6504 6505svn_config_enumerator2_t_swigregister = _core.svn_config_enumerator2_t_swigregister 6506svn_config_enumerator2_t_swigregister(svn_config_enumerator2_t) 6507 6508class svn_config_auth_walk_func_t(object): 6509 """Proxy of C svn_config_auth_walk_func_t struct.""" 6510 6511 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 6512 6513 def __init__(self, *args, **kwargs): 6514 raise AttributeError("No constructor defined") 6515 __repr__ = _swig_repr 6516 def set_parent_pool(self, parent_pool=None): 6517 """Create a new proxy object for TYPE""" 6518 import libsvn.core, weakref 6519 self.__dict__["_parent_pool"] = \ 6520 parent_pool or libsvn.core.application_pool; 6521 if self.__dict__["_parent_pool"]: 6522 self.__dict__["_is_valid"] = weakref.ref( 6523 self.__dict__["_parent_pool"]._is_valid) 6524 6525 def assert_valid(self): 6526 """Assert that this object is using valid pool memory""" 6527 if "_is_valid" in self.__dict__: 6528 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 6529 6530 def _retrieve_swig_value(self, name, value): 6531 # If we got back a different object than we have cached, we need to copy 6532 # all our metadata into it, so that it looks identical to the one 6533 # originally set. 6534 members = self.__dict__.get('_members') 6535 if members is not None and name in members: 6536 _copy_metadata_deep(value, members[name]) 6537 6538 # Verify that the new object is good 6539 _assert_valid_deep(value) 6540 6541 return value 6542 6543 # Attribute access must be intercepted to ensure that objects coming from 6544 # read attribute access match those that are set with write attribute access. 6545 # Specifically the metadata, such as the associated apr_pool object, should 6546 # match the originally assigned object. 6547 # 6548 # For classic classes it is enough to use __getattr__ to intercept swig 6549 # derived attributes. However, with new style classes SWIG makes use of 6550 # descriptors which mean that __getattr__ is never called. Therefore, 6551 # __getattribute__ must be used for the interception. 6552 6553 if _newclass: 6554 def __getattribute__(self, name): 6555 """Manage access to all attributes of this object.""" 6556 6557 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 6558 # items directly present in __dict__ 6559 mydict = object.__getattribute__(self, '__dict__') 6560 6561 if name == "__dict__": 6562 return mydict 6563 6564 if name in mydict: 6565 return mydict[name] 6566 6567 object.__getattribute__(self, 'assert_valid')() 6568 6569 value = _get_instance_attr(self, name) 6570 fn = object.__getattribute__(self, '_retrieve_swig_value') 6571 return fn(name, value) 6572 else: 6573 def __getattr__(self, name): 6574 """Get an attribute from this object""" 6575 self.assert_valid() 6576 6577 value = _swig_getattr(self, self.__class__, name) 6578 6579 return self._retrieve_swig_value(name, value) 6580 6581 def __setattr__(self, name, value): 6582 """Set an attribute on this object""" 6583 self.assert_valid() 6584 6585 # Save a copy of the object, so that the garbage 6586 # collector won't kill the object while it's in 6587 # SWIG-land 6588 self.__dict__.setdefault("_members",{})[name] = value 6589 6590 return _set_instance_attr(self, name, value) 6591 6592 6593 def __call__(self, *args): 6594 return svn_config_invoke_auth_walk_func(self, *args) 6595 6596svn_config_auth_walk_func_t_swigregister = _core.svn_config_auth_walk_func_t_swigregister 6597svn_config_auth_walk_func_t_swigregister(svn_config_auth_walk_func_t) 6598 6599 6600def svn_utf_initialize2(*args) -> "void": 6601 """svn_utf_initialize2(svn_boolean_t assume_native_utf8, apr_pool_t pool)""" 6602 return _core.svn_utf_initialize2(*args) 6603 6604def svn_utf_initialize(*args) -> "void": 6605 """svn_utf_initialize(apr_pool_t pool)""" 6606 return _core.svn_utf_initialize(*args) 6607 6608def svn_utf_stringbuf_to_utf8(*args) -> "svn_stringbuf_t **": 6609 """svn_utf_stringbuf_to_utf8(svn_stringbuf_t const * src, apr_pool_t pool) -> svn_error_t""" 6610 return _core.svn_utf_stringbuf_to_utf8(*args) 6611 6612def svn_utf_string_to_utf8(*args) -> "svn_string_t **": 6613 """svn_utf_string_to_utf8(svn_string_t const * src, apr_pool_t pool) -> svn_error_t""" 6614 return _core.svn_utf_string_to_utf8(*args) 6615 6616def svn_utf_cstring_to_utf8(*args) -> "char const **": 6617 """svn_utf_cstring_to_utf8(char const * src, apr_pool_t pool) -> svn_error_t""" 6618 return _core.svn_utf_cstring_to_utf8(*args) 6619 6620def svn_utf_cstring_to_utf8_ex2(*args) -> "char const **": 6621 """svn_utf_cstring_to_utf8_ex2(char const * src, char const * frompage, apr_pool_t pool) -> svn_error_t""" 6622 return _core.svn_utf_cstring_to_utf8_ex2(*args) 6623 6624def svn_utf_cstring_to_utf8_ex(*args) -> "char const **": 6625 """svn_utf_cstring_to_utf8_ex(char const * src, char const * frompage, char const * convset_key, apr_pool_t pool) -> svn_error_t""" 6626 return _core.svn_utf_cstring_to_utf8_ex(*args) 6627 6628def svn_utf_stringbuf_from_utf8(*args) -> "svn_stringbuf_t **": 6629 """svn_utf_stringbuf_from_utf8(svn_stringbuf_t const * src, apr_pool_t pool) -> svn_error_t""" 6630 return _core.svn_utf_stringbuf_from_utf8(*args) 6631 6632def svn_utf_string_from_utf8(*args) -> "svn_string_t **": 6633 """svn_utf_string_from_utf8(svn_string_t const * src, apr_pool_t pool) -> svn_error_t""" 6634 return _core.svn_utf_string_from_utf8(*args) 6635 6636def svn_utf_cstring_from_utf8(*args) -> "char const **": 6637 """svn_utf_cstring_from_utf8(char const * src, apr_pool_t pool) -> svn_error_t""" 6638 return _core.svn_utf_cstring_from_utf8(*args) 6639 6640def svn_utf_cstring_from_utf8_ex2(*args) -> "char const **": 6641 """svn_utf_cstring_from_utf8_ex2(char const * src, char const * topage, apr_pool_t pool) -> svn_error_t""" 6642 return _core.svn_utf_cstring_from_utf8_ex2(*args) 6643 6644def svn_utf_cstring_from_utf8_ex(*args) -> "char const **": 6645 """svn_utf_cstring_from_utf8_ex(char const * src, char const * topage, char const * convset_key, apr_pool_t pool) -> svn_error_t""" 6646 return _core.svn_utf_cstring_from_utf8_ex(*args) 6647 6648def svn_utf_cstring_from_utf8_fuzzy(*args) -> "char const *": 6649 """svn_utf_cstring_from_utf8_fuzzy(char const * src, apr_pool_t pool) -> char const *""" 6650 return _core.svn_utf_cstring_from_utf8_fuzzy(*args) 6651 6652def svn_utf_cstring_from_utf8_stringbuf(*args) -> "char const **": 6653 """svn_utf_cstring_from_utf8_stringbuf(svn_stringbuf_t const * src, apr_pool_t pool) -> svn_error_t""" 6654 return _core.svn_utf_cstring_from_utf8_stringbuf(*args) 6655 6656def svn_utf_cstring_from_utf8_string(*args) -> "char const **": 6657 """svn_utf_cstring_from_utf8_string(svn_string_t const * src, apr_pool_t pool) -> svn_error_t""" 6658 return _core.svn_utf_cstring_from_utf8_string(*args) 6659 6660def svn_utf_cstring_utf8_width(cstr: 'char const *') -> "int": 6661 """svn_utf_cstring_utf8_width(char const * cstr) -> int""" 6662 return _core.svn_utf_cstring_utf8_width(cstr) 6663 6664def svn_nls_init() -> "svn_error_t *": 6665 """svn_nls_init() -> svn_error_t""" 6666 return _core.svn_nls_init() 6667 6668def svn_path_internal_style(*args) -> "char const *": 6669 """svn_path_internal_style(char const * path, apr_pool_t pool) -> char const *""" 6670 return _core.svn_path_internal_style(*args) 6671 6672def svn_path_local_style(*args) -> "char const *": 6673 """svn_path_local_style(char const * path, apr_pool_t pool) -> char const *""" 6674 return _core.svn_path_local_style(*args) 6675 6676def svn_path_splitext(*args) -> "char const **, char const **": 6677 """svn_path_splitext(char const * path, apr_pool_t pool)""" 6678 return _core.svn_path_splitext(*args) 6679 6680def svn_path_is_empty(path: 'char const *') -> "int": 6681 """svn_path_is_empty(char const * path) -> int""" 6682 return _core.svn_path_is_empty(path) 6683 6684def svn_dirent_is_root(dirent: 'char const *', len: 'apr_size_t') -> "svn_boolean_t": 6685 """svn_dirent_is_root(char const * dirent, apr_size_t len) -> svn_boolean_t""" 6686 return _core.svn_dirent_is_root(dirent, len) 6687 6688def svn_path_canonicalize(*args) -> "char const *": 6689 """svn_path_canonicalize(char const * path, apr_pool_t pool) -> char const *""" 6690 return _core.svn_path_canonicalize(*args) 6691 6692def svn_path_is_canonical(*args) -> "svn_boolean_t": 6693 """svn_path_is_canonical(char const * path, apr_pool_t pool) -> svn_boolean_t""" 6694 return _core.svn_path_is_canonical(*args) 6695 6696def svn_path_compare_paths(path1: 'char const *', path2: 'char const *') -> "int": 6697 """svn_path_compare_paths(char const * path1, char const * path2) -> int""" 6698 return _core.svn_path_compare_paths(path1, path2) 6699 6700def svn_path_get_longest_ancestor(*args) -> "char *": 6701 """svn_path_get_longest_ancestor(char const * path1, char const * path2, apr_pool_t pool) -> char *""" 6702 return _core.svn_path_get_longest_ancestor(*args) 6703 6704def svn_path_is_dotpath_present(path: 'char const *') -> "svn_boolean_t": 6705 """svn_path_is_dotpath_present(char const * path) -> svn_boolean_t""" 6706 return _core.svn_path_is_dotpath_present(path) 6707 6708def svn_path_is_url(path: 'char const *') -> "svn_boolean_t": 6709 """svn_path_is_url(char const * path) -> svn_boolean_t""" 6710 return _core.svn_path_is_url(path) 6711 6712def svn_path_is_uri_safe(path: 'char const *') -> "svn_boolean_t": 6713 """svn_path_is_uri_safe(char const * path) -> svn_boolean_t""" 6714 return _core.svn_path_is_uri_safe(path) 6715 6716def svn_path_url_add_component2(*args) -> "char const *": 6717 """svn_path_url_add_component2(char const * url, char const * component, apr_pool_t pool) -> char const *""" 6718 return _core.svn_path_url_add_component2(*args) 6719 6720def svn_path_is_repos_relative_url(path: 'char const *') -> "svn_boolean_t": 6721 """svn_path_is_repos_relative_url(char const * path) -> svn_boolean_t""" 6722 return _core.svn_path_is_repos_relative_url(path) 6723 6724def svn_path_resolve_repos_relative_url(*args) -> "char const **": 6725 """svn_path_resolve_repos_relative_url(char const * relative_url, char const * repos_root_url, apr_pool_t pool) -> svn_error_t""" 6726 return _core.svn_path_resolve_repos_relative_url(*args) 6727 6728def svn_path_illegal_path_escape(*args) -> "char const *": 6729 """svn_path_illegal_path_escape(char const * path, apr_pool_t pool) -> char const *""" 6730 return _core.svn_path_illegal_path_escape(*args) 6731 6732def svn_dirent_internal_style(*args) -> "char const *": 6733 """svn_dirent_internal_style(char const * dirent, apr_pool_t result_pool) -> char const *""" 6734 return _core.svn_dirent_internal_style(*args) 6735 6736def svn_dirent_internal_style_safe(*args) -> "char const **, char const **": 6737 """svn_dirent_internal_style_safe(char const * dirent, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6738 return _core.svn_dirent_internal_style_safe(*args) 6739 6740def svn_dirent_local_style(*args) -> "char const *": 6741 """svn_dirent_local_style(char const * dirent, apr_pool_t result_pool) -> char const *""" 6742 return _core.svn_dirent_local_style(*args) 6743 6744def svn_dirent_join(*args) -> "char *": 6745 """svn_dirent_join(char const * base, char const * component, apr_pool_t result_pool) -> char *""" 6746 return _core.svn_dirent_join(*args) 6747 6748def svn_relpath_join(*args) -> "char *": 6749 """svn_relpath_join(char const * base, char const * component, apr_pool_t result_pool) -> char *""" 6750 return _core.svn_relpath_join(*args) 6751 6752def svn_dirent_basename(*args) -> "char const *": 6753 """svn_dirent_basename(char const * dirent, apr_pool_t result_pool) -> char const *""" 6754 return _core.svn_dirent_basename(*args) 6755 6756def svn_dirent_dirname(*args) -> "char *": 6757 """svn_dirent_dirname(char const * dirent, apr_pool_t result_pool) -> char *""" 6758 return _core.svn_dirent_dirname(*args) 6759 6760def svn_dirent_split(*args) -> "char const **, char const **": 6761 """svn_dirent_split(char const * dirent, apr_pool_t result_pool)""" 6762 return _core.svn_dirent_split(*args) 6763 6764def svn_relpath_split(*args) -> "char const **, char const **": 6765 """svn_relpath_split(char const * relpath, apr_pool_t result_pool)""" 6766 return _core.svn_relpath_split(*args) 6767 6768def svn_relpath_basename(*args) -> "char const *": 6769 """svn_relpath_basename(char const * relpath, apr_pool_t result_pool) -> char const *""" 6770 return _core.svn_relpath_basename(*args) 6771 6772def svn_relpath_dirname(*args) -> "char *": 6773 """svn_relpath_dirname(char const * relpath, apr_pool_t result_pool) -> char *""" 6774 return _core.svn_relpath_dirname(*args) 6775 6776def svn_relpath_prefix(*args) -> "char const *": 6777 """svn_relpath_prefix(char const * relpath, int max_components, apr_pool_t result_pool) -> char const *""" 6778 return _core.svn_relpath_prefix(*args) 6779 6780def svn_uri_split(*args) -> "char const **, char const **": 6781 """svn_uri_split(char const * uri, apr_pool_t result_pool)""" 6782 return _core.svn_uri_split(*args) 6783 6784def svn_uri_basename(*args) -> "char const *": 6785 """svn_uri_basename(char const * uri, apr_pool_t result_pool) -> char const *""" 6786 return _core.svn_uri_basename(*args) 6787 6788def svn_uri_dirname(*args) -> "char *": 6789 """svn_uri_dirname(char const * uri, apr_pool_t result_pool) -> char *""" 6790 return _core.svn_uri_dirname(*args) 6791 6792def svn_dirent_is_absolute(dirent: 'char const *') -> "svn_boolean_t": 6793 """svn_dirent_is_absolute(char const * dirent) -> svn_boolean_t""" 6794 return _core.svn_dirent_is_absolute(dirent) 6795 6796def svn_uri_is_root(uri: 'char const *', len: 'apr_size_t') -> "svn_boolean_t": 6797 """svn_uri_is_root(char const * uri, apr_size_t len) -> svn_boolean_t""" 6798 return _core.svn_uri_is_root(uri, len) 6799 6800def svn_dirent_canonicalize(*args) -> "char const *": 6801 """svn_dirent_canonicalize(char const * dirent, apr_pool_t result_pool) -> char const *""" 6802 return _core.svn_dirent_canonicalize(*args) 6803 6804def svn_dirent_canonicalize_safe(*args) -> "char const **, char const **": 6805 """svn_dirent_canonicalize_safe(char const * dirent, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6806 return _core.svn_dirent_canonicalize_safe(*args) 6807 6808def svn_relpath_canonicalize(*args) -> "char const *": 6809 """svn_relpath_canonicalize(char const * relpath, apr_pool_t result_pool) -> char const *""" 6810 return _core.svn_relpath_canonicalize(*args) 6811 6812def svn_relpath_canonicalize_safe(*args) -> "char const **, char const **": 6813 """svn_relpath_canonicalize_safe(char const * relpath, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6814 return _core.svn_relpath_canonicalize_safe(*args) 6815 6816def svn_uri_canonicalize(*args) -> "char const *": 6817 """svn_uri_canonicalize(char const * uri, apr_pool_t result_pool) -> char const *""" 6818 return _core.svn_uri_canonicalize(*args) 6819 6820def svn_uri_canonicalize_safe(*args) -> "char const **, char const **": 6821 """svn_uri_canonicalize_safe(char const * uri, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6822 return _core.svn_uri_canonicalize_safe(*args) 6823 6824def svn_dirent_is_canonical(*args) -> "svn_boolean_t": 6825 """svn_dirent_is_canonical(char const * dirent, apr_pool_t scratch_pool) -> svn_boolean_t""" 6826 return _core.svn_dirent_is_canonical(*args) 6827 6828def svn_relpath_is_canonical(relpath: 'char const *') -> "svn_boolean_t": 6829 """svn_relpath_is_canonical(char const * relpath) -> svn_boolean_t""" 6830 return _core.svn_relpath_is_canonical(relpath) 6831 6832def svn_uri_is_canonical(*args) -> "svn_boolean_t": 6833 """svn_uri_is_canonical(char const * uri, apr_pool_t scratch_pool) -> svn_boolean_t""" 6834 return _core.svn_uri_is_canonical(*args) 6835 6836def svn_dirent_get_longest_ancestor(*args) -> "char *": 6837 """svn_dirent_get_longest_ancestor(char const * dirent1, char const * dirent2, apr_pool_t result_pool) -> char *""" 6838 return _core.svn_dirent_get_longest_ancestor(*args) 6839 6840def svn_relpath_get_longest_ancestor(*args) -> "char *": 6841 """svn_relpath_get_longest_ancestor(char const * relpath1, char const * relpath2, apr_pool_t result_pool) -> char *""" 6842 return _core.svn_relpath_get_longest_ancestor(*args) 6843 6844def svn_uri_get_longest_ancestor(*args) -> "char *": 6845 """svn_uri_get_longest_ancestor(char const * uri1, char const * uri2, apr_pool_t result_pool) -> char *""" 6846 return _core.svn_uri_get_longest_ancestor(*args) 6847 6848def svn_dirent_get_absolute(*args) -> "char const **": 6849 """svn_dirent_get_absolute(char const * relative, apr_pool_t result_pool) -> svn_error_t""" 6850 return _core.svn_dirent_get_absolute(*args) 6851 6852def svn_dirent_is_child(*args) -> "char const *": 6853 """svn_dirent_is_child(char const * parent_dirent, char const * child_dirent, apr_pool_t result_pool) -> char const *""" 6854 return _core.svn_dirent_is_child(*args) 6855 6856def svn_dirent_is_ancestor(parent_dirent: 'char const *', child_dirent: 'char const *') -> "svn_boolean_t": 6857 """svn_dirent_is_ancestor(char const * parent_dirent, char const * child_dirent) -> svn_boolean_t""" 6858 return _core.svn_dirent_is_ancestor(parent_dirent, child_dirent) 6859 6860def svn_uri__is_ancestor(parent_uri: 'char const *', child_uri: 'char const *') -> "svn_boolean_t": 6861 """svn_uri__is_ancestor(char const * parent_uri, char const * child_uri) -> svn_boolean_t""" 6862 return _core.svn_uri__is_ancestor(parent_uri, child_uri) 6863 6864def svn_dirent_skip_ancestor(parent_dirent: 'char const *', child_dirent: 'char const *') -> "char const *": 6865 """svn_dirent_skip_ancestor(char const * parent_dirent, char const * child_dirent) -> char const *""" 6866 return _core.svn_dirent_skip_ancestor(parent_dirent, child_dirent) 6867 6868def svn_relpath_skip_ancestor(parent_relpath: 'char const *', child_relpath: 'char const *') -> "char const *": 6869 """svn_relpath_skip_ancestor(char const * parent_relpath, char const * child_relpath) -> char const *""" 6870 return _core.svn_relpath_skip_ancestor(parent_relpath, child_relpath) 6871 6872def svn_uri_skip_ancestor(*args) -> "char const *": 6873 """svn_uri_skip_ancestor(char const * parent_uri, char const * child_uri, apr_pool_t result_pool) -> char const *""" 6874 return _core.svn_uri_skip_ancestor(*args) 6875 6876def svn_uri_get_dirent_from_file_url(*args) -> "char const **": 6877 """svn_uri_get_dirent_from_file_url(char const * url, apr_pool_t result_pool) -> svn_error_t""" 6878 return _core.svn_uri_get_dirent_from_file_url(*args) 6879 6880def svn_uri_get_file_url_from_dirent(*args) -> "char const **": 6881 """svn_uri_get_file_url_from_dirent(char const * dirent, apr_pool_t result_pool) -> svn_error_t""" 6882 return _core.svn_uri_get_file_url_from_dirent(*args) 6883SVN_MERGEINFO_NONINHERITABLE_STR = _core.SVN_MERGEINFO_NONINHERITABLE_STR 6884 6885def svn_mergeinfo_parse(*args) -> "apr_hash_t **": 6886 """svn_mergeinfo_parse(char const * input, apr_pool_t pool) -> svn_error_t""" 6887 return _core.svn_mergeinfo_parse(*args) 6888 6889def svn_mergeinfo_diff2(*args) -> "apr_hash_t **, apr_hash_t **": 6890 """svn_mergeinfo_diff2(apr_hash_t mergefrom, apr_hash_t mergeto, svn_boolean_t consider_inheritance, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6891 return _core.svn_mergeinfo_diff2(*args) 6892 6893def svn_mergeinfo_diff(*args) -> "apr_hash_t **, apr_hash_t **": 6894 """svn_mergeinfo_diff(apr_hash_t mergefrom, apr_hash_t mergeto, svn_boolean_t consider_inheritance, apr_pool_t pool) -> svn_error_t""" 6895 return _core.svn_mergeinfo_diff(*args) 6896 6897def svn_mergeinfo_merge2(*args) -> "svn_error_t *": 6898 """svn_mergeinfo_merge2(apr_hash_t mergeinfo, apr_hash_t changes, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6899 return _core.svn_mergeinfo_merge2(*args) 6900 6901def svn_mergeinfo_catalog_merge(*args) -> "svn_error_t *": 6902 """svn_mergeinfo_catalog_merge(apr_hash_t mergeinfo_catalog, apr_hash_t changes_catalog, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6903 return _core.svn_mergeinfo_catalog_merge(*args) 6904 6905def svn_mergeinfo_remove(*args) -> "apr_hash_t **": 6906 """svn_mergeinfo_remove(apr_hash_t eraser, apr_hash_t whiteboard, apr_pool_t pool) -> svn_error_t""" 6907 return _core.svn_mergeinfo_remove(*args) 6908 6909def svn_mergeinfo_remove2(*args) -> "apr_hash_t **": 6910 """svn_mergeinfo_remove2(apr_hash_t eraser, apr_hash_t whiteboard, svn_boolean_t consider_inheritance, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6911 return _core.svn_mergeinfo_remove2(*args) 6912 6913def svn_rangelist_diff(*args) -> "svn_rangelist_t **, svn_rangelist_t **": 6914 """svn_rangelist_diff(apr_array_header_t arg3, apr_array_header_t to, svn_boolean_t consider_inheritance, apr_pool_t pool) -> svn_error_t""" 6915 return _core.svn_rangelist_diff(*args) 6916 6917def svn_rangelist_merge2(*args) -> "svn_error_t *": 6918 """svn_rangelist_merge2(apr_array_header_t rangelist, apr_array_header_t changes, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6919 return _core.svn_rangelist_merge2(*args) 6920 6921def svn_rangelist_remove(*args) -> "svn_rangelist_t **": 6922 """svn_rangelist_remove(apr_array_header_t eraser, apr_array_header_t whiteboard, svn_boolean_t consider_inheritance, apr_pool_t pool) -> svn_error_t""" 6923 return _core.svn_rangelist_remove(*args) 6924 6925def svn_mergeinfo_intersect2(*args) -> "apr_hash_t **": 6926 """svn_mergeinfo_intersect2(apr_hash_t mergeinfo1, apr_hash_t mergeinfo2, svn_boolean_t consider_inheritance, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6927 return _core.svn_mergeinfo_intersect2(*args) 6928 6929def svn_mergeinfo_intersect(*args) -> "apr_hash_t **": 6930 """svn_mergeinfo_intersect(apr_hash_t mergeinfo1, apr_hash_t mergeinfo2, apr_pool_t pool) -> svn_error_t""" 6931 return _core.svn_mergeinfo_intersect(*args) 6932 6933def svn_rangelist_intersect(*args) -> "svn_rangelist_t **": 6934 """svn_rangelist_intersect(apr_array_header_t rangelist1, apr_array_header_t rangelist2, svn_boolean_t consider_inheritance, apr_pool_t pool) -> svn_error_t""" 6935 return _core.svn_rangelist_intersect(*args) 6936 6937def svn_rangelist_to_string(*args) -> "svn_string_t **": 6938 """svn_rangelist_to_string(apr_array_header_t rangelist, apr_pool_t pool) -> svn_error_t""" 6939 return _core.svn_rangelist_to_string(*args) 6940 6941def svn_rangelist_inheritable2(*args) -> "svn_rangelist_t **": 6942 """svn_rangelist_inheritable2(apr_array_header_t rangelist, svn_revnum_t start, svn_revnum_t end, svn_boolean_t inheritable, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6943 return _core.svn_rangelist_inheritable2(*args) 6944 6945def svn_rangelist_inheritable(*args) -> "svn_rangelist_t **": 6946 """svn_rangelist_inheritable(apr_array_header_t rangelist, svn_revnum_t start, svn_revnum_t end, apr_pool_t pool) -> svn_error_t""" 6947 return _core.svn_rangelist_inheritable(*args) 6948 6949def svn_mergeinfo_inheritable2(*args) -> "apr_hash_t **": 6950 """svn_mergeinfo_inheritable2(apr_hash_t mergeinfo, char const * path, svn_revnum_t start, svn_revnum_t end, svn_boolean_t inheritable, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 6951 return _core.svn_mergeinfo_inheritable2(*args) 6952 6953def svn_mergeinfo_inheritable(*args) -> "apr_hash_t **": 6954 """svn_mergeinfo_inheritable(apr_hash_t mergeinfo, char const * path, svn_revnum_t start, svn_revnum_t end, apr_pool_t pool) -> svn_error_t""" 6955 return _core.svn_mergeinfo_inheritable(*args) 6956 6957def svn_mergeinfo_to_string(*args) -> "svn_string_t **": 6958 """svn_mergeinfo_to_string(apr_hash_t mergeinput, apr_pool_t pool) -> svn_error_t""" 6959 return _core.svn_mergeinfo_to_string(*args) 6960 6961def svn_mergeinfo_catalog_dup(*args) -> "svn_mergeinfo_catalog_t": 6962 """svn_mergeinfo_catalog_dup(apr_hash_t mergeinfo_catalog, apr_pool_t pool) -> apr_hash_t""" 6963 return _core.svn_mergeinfo_catalog_dup(*args) 6964 6965def svn_mergeinfo_dup(*args) -> "svn_mergeinfo_t": 6966 """svn_mergeinfo_dup(apr_hash_t mergeinfo, apr_pool_t pool) -> apr_hash_t""" 6967 return _core.svn_mergeinfo_dup(*args) 6968 6969def svn_rangelist_dup(*args) -> "svn_rangelist_t *": 6970 """svn_rangelist_dup(apr_array_header_t rangelist, apr_pool_t pool) -> apr_array_header_t""" 6971 return _core.svn_rangelist_dup(*args) 6972svn_mergeinfo_explicit = _core.svn_mergeinfo_explicit 6973svn_mergeinfo_inherited = _core.svn_mergeinfo_inherited 6974svn_mergeinfo_nearest_ancestor = _core.svn_mergeinfo_nearest_ancestor 6975 6976def svn_inheritance_to_word(inherit: 'svn_mergeinfo_inheritance_t') -> "char const *": 6977 """svn_inheritance_to_word(svn_mergeinfo_inheritance_t inherit) -> char const *""" 6978 return _core.svn_inheritance_to_word(inherit) 6979 6980def svn_inheritance_from_word(word: 'char const *') -> "svn_mergeinfo_inheritance_t": 6981 """svn_inheritance_from_word(char const * word) -> svn_mergeinfo_inheritance_t""" 6982 return _core.svn_inheritance_from_word(word) 6983svn_io_file_del_none = _core.svn_io_file_del_none 6984svn_io_file_del_on_close = _core.svn_io_file_del_on_close 6985svn_io_file_del_on_pool_cleanup = _core.svn_io_file_del_on_pool_cleanup 6986class svn_io_dirent2_t(object): 6987 """Proxy of C svn_io_dirent2_t struct.""" 6988 6989 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 6990 __repr__ = _swig_repr 6991 kind = _swig_property(_core.svn_io_dirent2_t_kind_get, _core.svn_io_dirent2_t_kind_set) 6992 special = _swig_property(_core.svn_io_dirent2_t_special_get, _core.svn_io_dirent2_t_special_set) 6993 filesize = _swig_property(_core.svn_io_dirent2_t_filesize_get, _core.svn_io_dirent2_t_filesize_set) 6994 mtime = _swig_property(_core.svn_io_dirent2_t_mtime_get, _core.svn_io_dirent2_t_mtime_set) 6995 def set_parent_pool(self, parent_pool=None): 6996 """Create a new proxy object for TYPE""" 6997 import libsvn.core, weakref 6998 self.__dict__["_parent_pool"] = \ 6999 parent_pool or libsvn.core.application_pool; 7000 if self.__dict__["_parent_pool"]: 7001 self.__dict__["_is_valid"] = weakref.ref( 7002 self.__dict__["_parent_pool"]._is_valid) 7003 7004 def assert_valid(self): 7005 """Assert that this object is using valid pool memory""" 7006 if "_is_valid" in self.__dict__: 7007 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 7008 7009 def _retrieve_swig_value(self, name, value): 7010 # If we got back a different object than we have cached, we need to copy 7011 # all our metadata into it, so that it looks identical to the one 7012 # originally set. 7013 members = self.__dict__.get('_members') 7014 if members is not None and name in members: 7015 _copy_metadata_deep(value, members[name]) 7016 7017 # Verify that the new object is good 7018 _assert_valid_deep(value) 7019 7020 return value 7021 7022 # Attribute access must be intercepted to ensure that objects coming from 7023 # read attribute access match those that are set with write attribute access. 7024 # Specifically the metadata, such as the associated apr_pool object, should 7025 # match the originally assigned object. 7026 # 7027 # For classic classes it is enough to use __getattr__ to intercept swig 7028 # derived attributes. However, with new style classes SWIG makes use of 7029 # descriptors which mean that __getattr__ is never called. Therefore, 7030 # __getattribute__ must be used for the interception. 7031 7032 if _newclass: 7033 def __getattribute__(self, name): 7034 """Manage access to all attributes of this object.""" 7035 7036 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 7037 # items directly present in __dict__ 7038 mydict = object.__getattribute__(self, '__dict__') 7039 7040 if name == "__dict__": 7041 return mydict 7042 7043 if name in mydict: 7044 return mydict[name] 7045 7046 object.__getattribute__(self, 'assert_valid')() 7047 7048 value = _get_instance_attr(self, name) 7049 fn = object.__getattribute__(self, '_retrieve_swig_value') 7050 return fn(name, value) 7051 else: 7052 def __getattr__(self, name): 7053 """Get an attribute from this object""" 7054 self.assert_valid() 7055 7056 value = _swig_getattr(self, self.__class__, name) 7057 7058 return self._retrieve_swig_value(name, value) 7059 7060 def __setattr__(self, name, value): 7061 """Set an attribute on this object""" 7062 self.assert_valid() 7063 7064 # Save a copy of the object, so that the garbage 7065 # collector won't kill the object while it's in 7066 # SWIG-land 7067 self.__dict__.setdefault("_members",{})[name] = value 7068 7069 return _set_instance_attr(self, name, value) 7070 7071 7072 def __init__(self): 7073 """__init__(svn_io_dirent2_t self) -> svn_io_dirent2_t""" 7074 this = _core.new_svn_io_dirent2_t() 7075 try: 7076 self.this.append(this) 7077 except __builtin__.Exception: 7078 self.this = this 7079 __swig_destroy__ = _core.delete_svn_io_dirent2_t 7080 __del__ = lambda self: None 7081svn_io_dirent2_t_swigregister = _core.svn_io_dirent2_t_swigregister 7082svn_io_dirent2_t_swigregister(svn_io_dirent2_t) 7083 7084 7085def svn_io_dirent2_create(*args) -> "svn_io_dirent2_t *": 7086 """svn_io_dirent2_create(apr_pool_t result_pool) -> svn_io_dirent2_t""" 7087 return _core.svn_io_dirent2_create(*args) 7088 7089def svn_io_dirent2_dup(*args) -> "svn_io_dirent2_t *": 7090 """svn_io_dirent2_dup(svn_io_dirent2_t item, apr_pool_t result_pool) -> svn_io_dirent2_t""" 7091 return _core.svn_io_dirent2_dup(*args) 7092class svn_io_dirent_t(object): 7093 """Proxy of C svn_io_dirent_t struct.""" 7094 7095 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 7096 __repr__ = _swig_repr 7097 kind = _swig_property(_core.svn_io_dirent_t_kind_get, _core.svn_io_dirent_t_kind_set) 7098 special = _swig_property(_core.svn_io_dirent_t_special_get, _core.svn_io_dirent_t_special_set) 7099 def set_parent_pool(self, parent_pool=None): 7100 """Create a new proxy object for TYPE""" 7101 import libsvn.core, weakref 7102 self.__dict__["_parent_pool"] = \ 7103 parent_pool or libsvn.core.application_pool; 7104 if self.__dict__["_parent_pool"]: 7105 self.__dict__["_is_valid"] = weakref.ref( 7106 self.__dict__["_parent_pool"]._is_valid) 7107 7108 def assert_valid(self): 7109 """Assert that this object is using valid pool memory""" 7110 if "_is_valid" in self.__dict__: 7111 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 7112 7113 def _retrieve_swig_value(self, name, value): 7114 # If we got back a different object than we have cached, we need to copy 7115 # all our metadata into it, so that it looks identical to the one 7116 # originally set. 7117 members = self.__dict__.get('_members') 7118 if members is not None and name in members: 7119 _copy_metadata_deep(value, members[name]) 7120 7121 # Verify that the new object is good 7122 _assert_valid_deep(value) 7123 7124 return value 7125 7126 # Attribute access must be intercepted to ensure that objects coming from 7127 # read attribute access match those that are set with write attribute access. 7128 # Specifically the metadata, such as the associated apr_pool object, should 7129 # match the originally assigned object. 7130 # 7131 # For classic classes it is enough to use __getattr__ to intercept swig 7132 # derived attributes. However, with new style classes SWIG makes use of 7133 # descriptors which mean that __getattr__ is never called. Therefore, 7134 # __getattribute__ must be used for the interception. 7135 7136 if _newclass: 7137 def __getattribute__(self, name): 7138 """Manage access to all attributes of this object.""" 7139 7140 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 7141 # items directly present in __dict__ 7142 mydict = object.__getattribute__(self, '__dict__') 7143 7144 if name == "__dict__": 7145 return mydict 7146 7147 if name in mydict: 7148 return mydict[name] 7149 7150 object.__getattribute__(self, 'assert_valid')() 7151 7152 value = _get_instance_attr(self, name) 7153 fn = object.__getattribute__(self, '_retrieve_swig_value') 7154 return fn(name, value) 7155 else: 7156 def __getattr__(self, name): 7157 """Get an attribute from this object""" 7158 self.assert_valid() 7159 7160 value = _swig_getattr(self, self.__class__, name) 7161 7162 return self._retrieve_swig_value(name, value) 7163 7164 def __setattr__(self, name, value): 7165 """Set an attribute on this object""" 7166 self.assert_valid() 7167 7168 # Save a copy of the object, so that the garbage 7169 # collector won't kill the object while it's in 7170 # SWIG-land 7171 self.__dict__.setdefault("_members",{})[name] = value 7172 7173 return _set_instance_attr(self, name, value) 7174 7175 7176 def __init__(self): 7177 """__init__(svn_io_dirent_t self) -> svn_io_dirent_t""" 7178 this = _core.new_svn_io_dirent_t() 7179 try: 7180 self.this.append(this) 7181 except __builtin__.Exception: 7182 self.this = this 7183 __swig_destroy__ = _core.delete_svn_io_dirent_t 7184 __del__ = lambda self: None 7185svn_io_dirent_t_swigregister = _core.svn_io_dirent_t_swigregister 7186svn_io_dirent_t_swigregister(svn_io_dirent_t) 7187 7188 7189def svn_io_open_uniquely_named(*args) -> "apr_file_t **, char const **": 7190 """svn_io_open_uniquely_named(char const * dirpath, char const * filename, char const * suffix, svn_io_file_del_t delete_when, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7191 return _core.svn_io_open_uniquely_named(*args) 7192 7193def svn_io_open_unique_file3(*args) -> "apr_file_t **, char const **": 7194 """svn_io_open_unique_file3(char const * dirpath, svn_io_file_del_t delete_when, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7195 return _core.svn_io_open_unique_file3(*args) 7196 7197def svn_io_open_unique_file2(*args) -> "apr_file_t **, char const **": 7198 """svn_io_open_unique_file2(char const * path, char const * suffix, svn_io_file_del_t delete_when, apr_pool_t pool) -> svn_error_t""" 7199 return _core.svn_io_open_unique_file2(*args) 7200 7201def svn_io_open_unique_file(*args) -> "apr_file_t **, char const **": 7202 """svn_io_open_unique_file(char const * path, char const * suffix, svn_boolean_t delete_on_close, apr_pool_t pool) -> svn_error_t""" 7203 return _core.svn_io_open_unique_file(*args) 7204 7205def svn_io_copy_perms(*args) -> "svn_error_t *": 7206 """svn_io_copy_perms(char const * src, char const * dst, apr_pool_t pool) -> svn_error_t""" 7207 return _core.svn_io_copy_perms(*args) 7208 7209def svn_io_sleep_for_timestamps(*args) -> "void": 7210 """svn_io_sleep_for_timestamps(char const * path, apr_pool_t pool)""" 7211 return _core.svn_io_sleep_for_timestamps(*args) 7212 7213def svn_io_filesizes_three_different_p(*args) -> "svn_boolean_t *, svn_boolean_t *, svn_boolean_t *": 7214 """svn_io_filesizes_three_different_p(char const * file1, char const * file2, char const * file3, apr_pool_t scratch_pool) -> svn_error_t""" 7215 return _core.svn_io_filesizes_three_different_p(*args) 7216 7217def svn_io_file_checksum2(*args) -> "svn_checksum_t **": 7218 """svn_io_file_checksum2(char const * file, svn_checksum_kind_t kind, apr_pool_t pool) -> svn_error_t""" 7219 return _core.svn_io_file_checksum2(*args) 7220 7221def svn_io_file_checksum(*args) -> "unsigned char [ANY]": 7222 """svn_io_file_checksum(char const * file, apr_pool_t pool) -> svn_error_t""" 7223 return _core.svn_io_file_checksum(*args) 7224 7225def svn_io_files_contents_same_p(*args) -> "svn_boolean_t *": 7226 """svn_io_files_contents_same_p(char const * file1, char const * file2, apr_pool_t pool) -> svn_error_t""" 7227 return _core.svn_io_files_contents_same_p(*args) 7228 7229def svn_io_files_contents_three_same_p(*args) -> "svn_boolean_t *, svn_boolean_t *, svn_boolean_t *": 7230 """svn_io_files_contents_three_same_p(char const * file1, char const * file2, char const * file3, apr_pool_t scratch_pool) -> svn_error_t""" 7231 return _core.svn_io_files_contents_three_same_p(*args) 7232 7233def svn_io_file_create_bytes(*args) -> "svn_error_t *": 7234 """svn_io_file_create_bytes(char const * file, void const * contents, apr_size_t length, apr_pool_t scratch_pool) -> svn_error_t""" 7235 return _core.svn_io_file_create_bytes(*args) 7236 7237def svn_io_file_create_empty(*args) -> "svn_error_t *": 7238 """svn_io_file_create_empty(char const * file, apr_pool_t scratch_pool) -> svn_error_t""" 7239 return _core.svn_io_file_create_empty(*args) 7240 7241def svn_io_lock_open_file(*args) -> "svn_error_t *": 7242 """svn_io_lock_open_file(apr_file_t lockfile_handle, svn_boolean_t exclusive, svn_boolean_t nonblocking, apr_pool_t pool) -> svn_error_t""" 7243 return _core.svn_io_lock_open_file(*args) 7244 7245def svn_io_unlock_open_file(*args) -> "svn_error_t *": 7246 """svn_io_unlock_open_file(apr_file_t lockfile_handle, apr_pool_t pool) -> svn_error_t""" 7247 return _core.svn_io_unlock_open_file(*args) 7248 7249def svn_stream_set_read2(stream: 'svn_stream_t *', read_fn: 'svn_read_fn_t', read_full_fn: 'svn_read_fn_t') -> "void": 7250 """svn_stream_set_read2(svn_stream_t * stream, svn_read_fn_t read_fn, svn_read_fn_t read_full_fn)""" 7251 return _core.svn_stream_set_read2(stream, read_fn, read_full_fn) 7252 7253def svn_stream_set_skip(stream: 'svn_stream_t *', skip_fn: 'svn_stream_skip_fn_t') -> "void": 7254 """svn_stream_set_skip(svn_stream_t * stream, svn_stream_skip_fn_t skip_fn)""" 7255 return _core.svn_stream_set_skip(stream, skip_fn) 7256 7257def svn_stream_set_mark(stream: 'svn_stream_t *', mark_fn: 'svn_stream_mark_fn_t') -> "void": 7258 """svn_stream_set_mark(svn_stream_t * stream, svn_stream_mark_fn_t mark_fn)""" 7259 return _core.svn_stream_set_mark(stream, mark_fn) 7260 7261def svn_stream_set_seek(stream: 'svn_stream_t *', seek_fn: 'svn_stream_seek_fn_t') -> "void": 7262 """svn_stream_set_seek(svn_stream_t * stream, svn_stream_seek_fn_t seek_fn)""" 7263 return _core.svn_stream_set_seek(stream, seek_fn) 7264 7265def svn_stream_set_data_available(stream: 'svn_stream_t *', data_available: 'svn_stream_data_available_fn_t') -> "void": 7266 """svn_stream_set_data_available(svn_stream_t * stream, svn_stream_data_available_fn_t data_available)""" 7267 return _core.svn_stream_set_data_available(stream, data_available) 7268 7269def svn_stream_set_readline(stream: 'svn_stream_t *', readline_fn: 'svn_stream_readline_fn_t') -> "void": 7270 """svn_stream_set_readline(svn_stream_t * stream, svn_stream_readline_fn_t readline_fn)""" 7271 return _core.svn_stream_set_readline(stream, readline_fn) 7272 7273def svn_stream_empty(*args) -> "svn_stream_t *": 7274 """svn_stream_empty(apr_pool_t pool) -> svn_stream_t *""" 7275 return _core.svn_stream_empty(*args) 7276 7277def svn_stream_disown(*args) -> "svn_stream_t *": 7278 """svn_stream_disown(svn_stream_t * stream, apr_pool_t pool) -> svn_stream_t *""" 7279 return _core.svn_stream_disown(*args) 7280 7281def svn_stream_open_readonly(*args) -> "svn_stream_t **": 7282 """svn_stream_open_readonly(char const * path, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7283 return _core.svn_stream_open_readonly(*args) 7284 7285def svn_stream_open_writable(*args) -> "svn_stream_t **": 7286 """svn_stream_open_writable(char const * path, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7287 return _core.svn_stream_open_writable(*args) 7288 7289def svn_stream_open_unique(*args) -> "svn_stream_t **, char const **": 7290 """svn_stream_open_unique(char const * dirpath, svn_io_file_del_t delete_when, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7291 return _core.svn_stream_open_unique(*args) 7292 7293def svn_stream_from_aprfile2(*args) -> "svn_stream_t *": 7294 """svn_stream_from_aprfile2(apr_file_t file, svn_boolean_t disown, apr_pool_t pool) -> svn_stream_t *""" 7295 return _core.svn_stream_from_aprfile2(*args) 7296 7297def svn_stream_from_aprfile(*args) -> "svn_stream_t *": 7298 """svn_stream_from_aprfile(apr_file_t file, apr_pool_t pool) -> svn_stream_t *""" 7299 return _core.svn_stream_from_aprfile(*args) 7300 7301def svn_stream_for_stdin2(*args) -> "svn_stream_t **": 7302 """svn_stream_for_stdin2(svn_boolean_t buffered, apr_pool_t pool) -> svn_error_t""" 7303 return _core.svn_stream_for_stdin2(*args) 7304 7305def svn_stream_for_stdin(*args) -> "svn_stream_t **": 7306 """svn_stream_for_stdin(apr_pool_t pool) -> svn_error_t""" 7307 return _core.svn_stream_for_stdin(*args) 7308 7309def svn_stream_for_stderr(*args) -> "svn_stream_t **": 7310 """svn_stream_for_stderr(apr_pool_t pool) -> svn_error_t""" 7311 return _core.svn_stream_for_stderr(*args) 7312 7313def svn_stream_for_stdout(*args) -> "svn_stream_t **": 7314 """svn_stream_for_stdout(apr_pool_t pool) -> svn_error_t""" 7315 return _core.svn_stream_for_stdout(*args) 7316 7317def svn_stringbuf_from_stream(*args) -> "svn_stringbuf_t **": 7318 """svn_stringbuf_from_stream(svn_stream_t * stream, apr_size_t len_hint, apr_pool_t result_pool) -> svn_error_t""" 7319 return _core.svn_stringbuf_from_stream(*args) 7320 7321def svn_stream_from_stringbuf(*args) -> "svn_stream_t *": 7322 """svn_stream_from_stringbuf(svn_stringbuf_t * str, apr_pool_t pool) -> svn_stream_t *""" 7323 return _core.svn_stream_from_stringbuf(*args) 7324 7325def svn_stream_from_string(*args) -> "svn_stream_t *": 7326 """svn_stream_from_string(svn_string_t const * str, apr_pool_t pool) -> svn_stream_t *""" 7327 return _core.svn_stream_from_string(*args) 7328 7329def svn_stream_buffered(*args) -> "svn_stream_t *": 7330 """svn_stream_buffered(apr_pool_t result_pool) -> svn_stream_t *""" 7331 return _core.svn_stream_buffered(*args) 7332 7333def svn_stream_compressed(*args) -> "svn_stream_t *": 7334 """svn_stream_compressed(svn_stream_t * stream, apr_pool_t pool) -> svn_stream_t *""" 7335 return _core.svn_stream_compressed(*args) 7336 7337def svn_stream_checksummed2(*args) -> "svn_checksum_t **, svn_checksum_t **": 7338 """svn_stream_checksummed2(svn_stream_t * stream, svn_checksum_kind_t checksum_kind, svn_boolean_t read_all, apr_pool_t pool) -> svn_stream_t *""" 7339 return _core.svn_stream_checksummed2(*args) 7340 7341def svn_stream_contents_checksum(*args) -> "svn_checksum_t **": 7342 """svn_stream_contents_checksum(svn_stream_t * stream, svn_checksum_kind_t kind, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7343 return _core.svn_stream_contents_checksum(*args) 7344 7345def svn_stream_read_full(stream: 'svn_stream_t *', buffer: 'char *') -> "apr_size_t *": 7346 """svn_stream_read_full(svn_stream_t * stream, char * buffer) -> svn_error_t""" 7347 return _core.svn_stream_read_full(stream, buffer) 7348 7349def svn_stream_supports_partial_read(stream: 'svn_stream_t *') -> "svn_boolean_t": 7350 """svn_stream_supports_partial_read(svn_stream_t * stream) -> svn_boolean_t""" 7351 return _core.svn_stream_supports_partial_read(stream) 7352 7353def svn_stream_read2(stream: 'svn_stream_t *', buffer: 'char *') -> "apr_size_t *": 7354 """svn_stream_read2(svn_stream_t * stream, char * buffer) -> svn_error_t""" 7355 return _core.svn_stream_read2(stream, buffer) 7356 7357def svn_stream_read(stream: 'svn_stream_t *', buffer: 'char *') -> "apr_size_t *": 7358 """svn_stream_read(svn_stream_t * stream, char * buffer) -> svn_error_t""" 7359 return _core.svn_stream_read(stream, buffer) 7360 7361def svn_stream_skip(stream: 'svn_stream_t *', len: 'apr_size_t') -> "svn_error_t *": 7362 """svn_stream_skip(svn_stream_t * stream, apr_size_t len) -> svn_error_t""" 7363 return _core.svn_stream_skip(stream, len) 7364 7365def svn_stream_write(stream: 'svn_stream_t *', data: 'char const *') -> "apr_size_t *": 7366 """svn_stream_write(svn_stream_t * stream, char const * data) -> svn_error_t""" 7367 return _core.svn_stream_write(stream, data) 7368 7369def svn_stream_close(stream: 'svn_stream_t *') -> "svn_error_t *": 7370 """svn_stream_close(svn_stream_t * stream) -> svn_error_t""" 7371 return _core.svn_stream_close(stream) 7372 7373def svn_stream_reset(stream: 'svn_stream_t *') -> "svn_error_t *": 7374 """svn_stream_reset(svn_stream_t * stream) -> svn_error_t""" 7375 return _core.svn_stream_reset(stream) 7376 7377def svn_stream_supports_mark(stream: 'svn_stream_t *') -> "svn_boolean_t": 7378 """svn_stream_supports_mark(svn_stream_t * stream) -> svn_boolean_t""" 7379 return _core.svn_stream_supports_mark(stream) 7380 7381def svn_stream_supports_reset(stream: 'svn_stream_t *') -> "svn_boolean_t": 7382 """svn_stream_supports_reset(svn_stream_t * stream) -> svn_boolean_t""" 7383 return _core.svn_stream_supports_reset(stream) 7384 7385def svn_stream_mark(*args) -> "svn_stream_mark_t **": 7386 """svn_stream_mark(svn_stream_t * stream, apr_pool_t pool) -> svn_error_t""" 7387 return _core.svn_stream_mark(*args) 7388 7389def svn_stream_seek(stream: 'svn_stream_t *', mark: 'svn_stream_mark_t const *') -> "svn_error_t *": 7390 """svn_stream_seek(svn_stream_t * stream, svn_stream_mark_t const * mark) -> svn_error_t""" 7391 return _core.svn_stream_seek(stream, mark) 7392 7393def svn_stream_data_available(stream: 'svn_stream_t *') -> "svn_boolean_t *": 7394 """svn_stream_data_available(svn_stream_t * stream) -> svn_error_t""" 7395 return _core.svn_stream_data_available(stream) 7396 7397def svn_stream_tee(*args) -> "svn_stream_t *": 7398 """svn_stream_tee(svn_stream_t * out1, svn_stream_t * out2, apr_pool_t pool) -> svn_stream_t *""" 7399 return _core.svn_stream_tee(*args) 7400 7401def svn_stream_puts(stream: 'svn_stream_t *', str: 'char const *') -> "svn_error_t *": 7402 """svn_stream_puts(svn_stream_t * stream, char const * str) -> svn_error_t""" 7403 return _core.svn_stream_puts(stream, str) 7404 7405def svn_stream_readline(*args) -> "svn_stringbuf_t **, svn_boolean_t *": 7406 """svn_stream_readline(svn_stream_t * stream, char const * eol, apr_pool_t pool) -> svn_error_t""" 7407 return _core.svn_stream_readline(*args) 7408 7409def svn_stream_copy3(*args) -> "svn_error_t *": 7410 """svn_stream_copy3(svn_stream_t * arg1, svn_stream_t * to, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t""" 7411 return _core.svn_stream_copy3(*args) 7412 7413def svn_stream_copy2(*args) -> "svn_error_t *": 7414 """svn_stream_copy2(svn_stream_t * arg1, svn_stream_t * to, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t""" 7415 return _core.svn_stream_copy2(*args) 7416 7417def svn_stream_copy(*args) -> "svn_error_t *": 7418 """svn_stream_copy(svn_stream_t * arg1, svn_stream_t * to, apr_pool_t pool) -> svn_error_t""" 7419 return _core.svn_stream_copy(*args) 7420 7421def svn_stream_contents_same2(*args) -> "svn_boolean_t *": 7422 """svn_stream_contents_same2(svn_stream_t * stream1, svn_stream_t * stream2, apr_pool_t pool) -> svn_error_t""" 7423 return _core.svn_stream_contents_same2(*args) 7424 7425def svn_stream_contents_same(*args) -> "svn_boolean_t *": 7426 """svn_stream_contents_same(svn_stream_t * stream1, svn_stream_t * stream2, apr_pool_t pool) -> svn_error_t""" 7427 return _core.svn_stream_contents_same(*args) 7428 7429def svn_string_from_stream2(*args) -> "svn_string_t **": 7430 """svn_string_from_stream2(svn_stream_t * stream, apr_size_t len_hint, apr_pool_t result_pool) -> svn_error_t""" 7431 return _core.svn_string_from_stream2(*args) 7432 7433def svn_string_from_stream(*args) -> "svn_string_t **": 7434 """svn_string_from_stream(svn_stream_t * stream, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7435 return _core.svn_string_from_stream(*args) 7436 7437def svn_stream_lazyopen_create(*args) -> "svn_stream_t *": 7438 """svn_stream_lazyopen_create(svn_stream_lazyopen_func_t open_func, void * open_baton, svn_boolean_t open_on_close, apr_pool_t result_pool) -> svn_stream_t *""" 7439 return _core.svn_stream_lazyopen_create(*args) 7440 7441def svn_stringbuf_from_file2(*args) -> "svn_stringbuf_t **": 7442 """svn_stringbuf_from_file2(char const * filename, apr_pool_t pool) -> svn_error_t""" 7443 return _core.svn_stringbuf_from_file2(*args) 7444 7445def svn_stringbuf_from_file(*args) -> "svn_stringbuf_t **": 7446 """svn_stringbuf_from_file(char const * filename, apr_pool_t pool) -> svn_error_t""" 7447 return _core.svn_stringbuf_from_file(*args) 7448 7449def svn_stringbuf_from_aprfile(*args) -> "svn_stringbuf_t **": 7450 """svn_stringbuf_from_aprfile(apr_file_t file, apr_pool_t pool) -> svn_error_t""" 7451 return _core.svn_stringbuf_from_aprfile(*args) 7452 7453def svn_io_remove_file2(*args) -> "svn_error_t *": 7454 """svn_io_remove_file2(char const * path, svn_boolean_t ignore_enoent, apr_pool_t scratch_pool) -> svn_error_t""" 7455 return _core.svn_io_remove_file2(*args) 7456 7457def svn_io_remove_file(*args) -> "svn_error_t *": 7458 """svn_io_remove_file(char const * path, apr_pool_t pool) -> svn_error_t""" 7459 return _core.svn_io_remove_file(*args) 7460 7461def svn_io_remove_dir2(*args) -> "svn_error_t *": 7462 """svn_io_remove_dir2(char const * path, svn_boolean_t ignore_enoent, svn_cancel_func_t cancel_func, apr_pool_t pool) -> svn_error_t""" 7463 return _core.svn_io_remove_dir2(*args) 7464 7465def svn_io_remove_dir(*args) -> "svn_error_t *": 7466 """svn_io_remove_dir(char const * path, apr_pool_t pool) -> svn_error_t""" 7467 return _core.svn_io_remove_dir(*args) 7468 7469def svn_io_get_dirents3(*args) -> "apr_hash_t **": 7470 """svn_io_get_dirents3(char const * path, svn_boolean_t only_check_type, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7471 return _core.svn_io_get_dirents3(*args) 7472 7473def svn_io_stat_dirent2(*args) -> "svn_io_dirent2_t **": 7474 """svn_io_stat_dirent2(char const * path, svn_boolean_t verify_truename, svn_boolean_t ignore_enoent, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7475 return _core.svn_io_stat_dirent2(*args) 7476 7477def svn_io_stat_dirent(*args) -> "svn_io_dirent2_t **": 7478 """svn_io_stat_dirent(char const * path, svn_boolean_t ignore_enoent, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7479 return _core.svn_io_stat_dirent(*args) 7480 7481def svn_io_dir_walk2(*args) -> "svn_error_t *": 7482 """svn_io_dir_walk2(char const * dirname, apr_int32_t wanted, svn_io_walk_func_t walk_func, void * walk_baton, apr_pool_t pool) -> svn_error_t""" 7483 return _core.svn_io_dir_walk2(*args) 7484 7485def svn_io_start_cmd3(*args) -> "svn_error_t *": 7486 """svn_io_start_cmd3(apr_proc_t * cmd_proc, char const * path, char const * cmd, char const *const * args, char const *const * env, svn_boolean_t inherit, svn_boolean_t infile_pipe, apr_file_t infile, svn_boolean_t outfile_pipe, apr_file_t outfile, svn_boolean_t errfile_pipe, apr_file_t errfile, apr_pool_t pool) -> svn_error_t""" 7487 return _core.svn_io_start_cmd3(*args) 7488 7489def svn_io_start_cmd2(*args) -> "svn_error_t *": 7490 """svn_io_start_cmd2(apr_proc_t * cmd_proc, char const * path, char const * cmd, char const *const * args, svn_boolean_t inherit, svn_boolean_t infile_pipe, apr_file_t infile, svn_boolean_t outfile_pipe, apr_file_t outfile, svn_boolean_t errfile_pipe, apr_file_t errfile, apr_pool_t pool) -> svn_error_t""" 7491 return _core.svn_io_start_cmd2(*args) 7492 7493def svn_io_run_diff2(*args) -> "int *": 7494 """svn_io_run_diff2(char const * dir, char const *const * user_args, int num_user_args, char const * label1, char const * label2, char const * arg6, char const * to, apr_file_t outfile, apr_file_t errfile, char const * diff_cmd, apr_pool_t pool) -> svn_error_t""" 7495 return _core.svn_io_run_diff2(*args) 7496 7497def svn_io_run_diff3_3(*args) -> "int *": 7498 """svn_io_run_diff3_3(char const * dir, char const * mine, char const * older, char const * yours, char const * mine_label, char const * older_label, char const * yours_label, apr_file_t merged, char const * diff3_cmd, apr_array_header_t user_args, apr_pool_t pool) -> svn_error_t""" 7499 return _core.svn_io_run_diff3_3(*args) 7500 7501def svn_io_parse_mimetypes_file(*args) -> "apr_hash_t **": 7502 """svn_io_parse_mimetypes_file(char const * mimetypes_file, apr_pool_t pool) -> svn_error_t""" 7503 return _core.svn_io_parse_mimetypes_file(*args) 7504 7505def svn_io_detect_mimetype2(*args) -> "char const **": 7506 """svn_io_detect_mimetype2(char const * file, apr_hash_t mimetype_map, apr_pool_t pool) -> svn_error_t""" 7507 return _core.svn_io_detect_mimetype2(*args) 7508 7509def svn_io_detect_mimetype(*args) -> "char const **": 7510 """svn_io_detect_mimetype(char const * file, apr_pool_t pool) -> svn_error_t""" 7511 return _core.svn_io_detect_mimetype(*args) 7512 7513def svn_io_is_binary_data(buf: 'void const *', len: 'apr_size_t') -> "svn_boolean_t": 7514 """svn_io_is_binary_data(void const * buf, apr_size_t len) -> svn_boolean_t""" 7515 return _core.svn_io_is_binary_data(buf, len) 7516 7517def svn_io_file_putc(*args) -> "svn_error_t *": 7518 """svn_io_file_putc(char ch, apr_file_t file, apr_pool_t pool) -> svn_error_t""" 7519 return _core.svn_io_file_putc(*args) 7520 7521def svn_io_file_size_get(*args) -> "svn_filesize_t *": 7522 """svn_io_file_size_get(apr_file_t file, apr_pool_t pool) -> svn_error_t""" 7523 return _core.svn_io_file_size_get(*args) 7524 7525def svn_io_file_get_offset(*args) -> "svn_error_t *": 7526 """svn_io_file_get_offset(apr_off_t * offset_p, apr_file_t file, apr_pool_t pool) -> svn_error_t""" 7527 return _core.svn_io_file_get_offset(*args) 7528 7529def svn_io_file_read_full2(*args) -> "apr_size_t *, svn_boolean_t *": 7530 """svn_io_file_read_full2(apr_file_t file, void * buf, apr_size_t nbytes, apr_pool_t pool) -> svn_error_t""" 7531 return _core.svn_io_file_read_full2(*args) 7532 7533def svn_io_file_aligned_seek(*args) -> "svn_error_t *": 7534 """svn_io_file_aligned_seek(apr_file_t file, apr_off_t block_size, apr_off_t * buffer_start, apr_off_t offset, apr_pool_t scratch_pool) -> svn_error_t""" 7535 return _core.svn_io_file_aligned_seek(*args) 7536 7537def svn_io_file_flush(*args) -> "svn_error_t *": 7538 """svn_io_file_flush(apr_file_t file, apr_pool_t scratch_pool) -> svn_error_t""" 7539 return _core.svn_io_file_flush(*args) 7540 7541def svn_io_write_atomic2(*args) -> "svn_error_t *": 7542 """svn_io_write_atomic2(char const * final_path, void const * buf, apr_size_t nbytes, char const * copy_perms_path, svn_boolean_t flush_to_disk, apr_pool_t scratch_pool) -> svn_error_t""" 7543 return _core.svn_io_write_atomic2(*args) 7544 7545def svn_io_write_atomic(*args) -> "svn_error_t *": 7546 """svn_io_write_atomic(char const * final_path, void const * buf, apr_size_t nbytes, char const * copy_perms_path, apr_pool_t scratch_pool) -> svn_error_t""" 7547 return _core.svn_io_write_atomic(*args) 7548 7549def svn_io_write_unique(*args) -> "char const **": 7550 """svn_io_write_unique(char const * dirpath, void const * buf, apr_size_t nbytes, svn_io_file_del_t delete_when, apr_pool_t pool) -> svn_error_t""" 7551 return _core.svn_io_write_unique(*args) 7552 7553def svn_io_file_trunc(*args) -> "svn_error_t *": 7554 """svn_io_file_trunc(apr_file_t file, apr_off_t offset, apr_pool_t pool) -> svn_error_t""" 7555 return _core.svn_io_file_trunc(*args) 7556 7557def svn_io_file_rename2(*args) -> "svn_error_t *": 7558 """svn_io_file_rename2(char const * from_path, char const * to_path, svn_boolean_t flush_to_disk, apr_pool_t pool) -> svn_error_t""" 7559 return _core.svn_io_file_rename2(*args) 7560 7561def svn_io_dir_close(thedir: 'apr_dir_t *') -> "svn_error_t *": 7562 """svn_io_dir_close(apr_dir_t * thedir) -> svn_error_t""" 7563 return _core.svn_io_dir_close(thedir) 7564 7565def svn_io_file_name_get(*args) -> "char const **": 7566 """svn_io_file_name_get(apr_file_t file, apr_pool_t pool) -> svn_error_t""" 7567 return _core.svn_io_file_name_get(*args) 7568 7569def svn_io_file_readline(*args) -> "svn_stringbuf_t **, char const **, svn_boolean_t *": 7570 """svn_io_file_readline(apr_file_t file, apr_size_t max_len, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7571 return _core.svn_io_file_readline(*args) 7572class svn_stream_t(object): 7573 """Proxy of C svn_stream_t struct.""" 7574 7575 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 7576 7577 def __init__(self, *args, **kwargs): 7578 raise AttributeError("No constructor defined") 7579 __repr__ = _swig_repr 7580 def set_parent_pool(self, parent_pool=None): 7581 """Create a new proxy object for TYPE""" 7582 import libsvn.core, weakref 7583 self.__dict__["_parent_pool"] = \ 7584 parent_pool or libsvn.core.application_pool; 7585 if self.__dict__["_parent_pool"]: 7586 self.__dict__["_is_valid"] = weakref.ref( 7587 self.__dict__["_parent_pool"]._is_valid) 7588 7589 def assert_valid(self): 7590 """Assert that this object is using valid pool memory""" 7591 if "_is_valid" in self.__dict__: 7592 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 7593 7594 def _retrieve_swig_value(self, name, value): 7595 # If we got back a different object than we have cached, we need to copy 7596 # all our metadata into it, so that it looks identical to the one 7597 # originally set. 7598 members = self.__dict__.get('_members') 7599 if members is not None and name in members: 7600 _copy_metadata_deep(value, members[name]) 7601 7602 # Verify that the new object is good 7603 _assert_valid_deep(value) 7604 7605 return value 7606 7607 # Attribute access must be intercepted to ensure that objects coming from 7608 # read attribute access match those that are set with write attribute access. 7609 # Specifically the metadata, such as the associated apr_pool object, should 7610 # match the originally assigned object. 7611 # 7612 # For classic classes it is enough to use __getattr__ to intercept swig 7613 # derived attributes. However, with new style classes SWIG makes use of 7614 # descriptors which mean that __getattr__ is never called. Therefore, 7615 # __getattribute__ must be used for the interception. 7616 7617 if _newclass: 7618 def __getattribute__(self, name): 7619 """Manage access to all attributes of this object.""" 7620 7621 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 7622 # items directly present in __dict__ 7623 mydict = object.__getattribute__(self, '__dict__') 7624 7625 if name == "__dict__": 7626 return mydict 7627 7628 if name in mydict: 7629 return mydict[name] 7630 7631 object.__getattribute__(self, 'assert_valid')() 7632 7633 value = _get_instance_attr(self, name) 7634 fn = object.__getattribute__(self, '_retrieve_swig_value') 7635 return fn(name, value) 7636 else: 7637 def __getattr__(self, name): 7638 """Get an attribute from this object""" 7639 self.assert_valid() 7640 7641 value = _swig_getattr(self, self.__class__, name) 7642 7643 return self._retrieve_swig_value(name, value) 7644 7645 def __setattr__(self, name, value): 7646 """Set an attribute on this object""" 7647 self.assert_valid() 7648 7649 # Save a copy of the object, so that the garbage 7650 # collector won't kill the object while it's in 7651 # SWIG-land 7652 self.__dict__.setdefault("_members",{})[name] = value 7653 7654 return _set_instance_attr(self, name, value) 7655 7656svn_stream_t_swigregister = _core.svn_stream_t_swigregister 7657svn_stream_t_swigregister(svn_stream_t) 7658 7659class svn_stream_mark_t(object): 7660 """Proxy of C svn_stream_mark_t struct.""" 7661 7662 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 7663 7664 def __init__(self, *args, **kwargs): 7665 raise AttributeError("No constructor defined") 7666 __repr__ = _swig_repr 7667 def set_parent_pool(self, parent_pool=None): 7668 """Create a new proxy object for TYPE""" 7669 import libsvn.core, weakref 7670 self.__dict__["_parent_pool"] = \ 7671 parent_pool or libsvn.core.application_pool; 7672 if self.__dict__["_parent_pool"]: 7673 self.__dict__["_is_valid"] = weakref.ref( 7674 self.__dict__["_parent_pool"]._is_valid) 7675 7676 def assert_valid(self): 7677 """Assert that this object is using valid pool memory""" 7678 if "_is_valid" in self.__dict__: 7679 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 7680 7681 def _retrieve_swig_value(self, name, value): 7682 # If we got back a different object than we have cached, we need to copy 7683 # all our metadata into it, so that it looks identical to the one 7684 # originally set. 7685 members = self.__dict__.get('_members') 7686 if members is not None and name in members: 7687 _copy_metadata_deep(value, members[name]) 7688 7689 # Verify that the new object is good 7690 _assert_valid_deep(value) 7691 7692 return value 7693 7694 # Attribute access must be intercepted to ensure that objects coming from 7695 # read attribute access match those that are set with write attribute access. 7696 # Specifically the metadata, such as the associated apr_pool object, should 7697 # match the originally assigned object. 7698 # 7699 # For classic classes it is enough to use __getattr__ to intercept swig 7700 # derived attributes. However, with new style classes SWIG makes use of 7701 # descriptors which mean that __getattr__ is never called. Therefore, 7702 # __getattribute__ must be used for the interception. 7703 7704 if _newclass: 7705 def __getattribute__(self, name): 7706 """Manage access to all attributes of this object.""" 7707 7708 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 7709 # items directly present in __dict__ 7710 mydict = object.__getattribute__(self, '__dict__') 7711 7712 if name == "__dict__": 7713 return mydict 7714 7715 if name in mydict: 7716 return mydict[name] 7717 7718 object.__getattribute__(self, 'assert_valid')() 7719 7720 value = _get_instance_attr(self, name) 7721 fn = object.__getattribute__(self, '_retrieve_swig_value') 7722 return fn(name, value) 7723 else: 7724 def __getattr__(self, name): 7725 """Get an attribute from this object""" 7726 self.assert_valid() 7727 7728 value = _swig_getattr(self, self.__class__, name) 7729 7730 return self._retrieve_swig_value(name, value) 7731 7732 def __setattr__(self, name, value): 7733 """Set an attribute on this object""" 7734 self.assert_valid() 7735 7736 # Save a copy of the object, so that the garbage 7737 # collector won't kill the object while it's in 7738 # SWIG-land 7739 self.__dict__.setdefault("_members",{})[name] = value 7740 7741 return _set_instance_attr(self, name, value) 7742 7743svn_stream_mark_t_swigregister = _core.svn_stream_mark_t_swigregister 7744svn_stream_mark_t_swigregister(svn_stream_mark_t) 7745 7746 7747def svn_read_invoke_fn(_obj: 'svn_read_fn_t', baton: 'void *', buffer: 'char *') -> "apr_size_t *": 7748 """svn_read_invoke_fn(svn_read_fn_t _obj, void * baton, char * buffer) -> svn_error_t""" 7749 return _core.svn_read_invoke_fn(_obj, baton, buffer) 7750 7751def svn_stream_invoke_skip_fn(_obj: 'svn_stream_skip_fn_t', baton: 'void *', len: 'apr_size_t') -> "svn_error_t *": 7752 """svn_stream_invoke_skip_fn(svn_stream_skip_fn_t _obj, void * baton, apr_size_t len) -> svn_error_t""" 7753 return _core.svn_stream_invoke_skip_fn(_obj, baton, len) 7754 7755def svn_write_invoke_fn(_obj: 'svn_write_fn_t', baton: 'void *', data: 'char const *') -> "apr_size_t *": 7756 """svn_write_invoke_fn(svn_write_fn_t _obj, void * baton, char const * data) -> svn_error_t""" 7757 return _core.svn_write_invoke_fn(_obj, baton, data) 7758 7759def svn_close_invoke_fn(_obj: 'svn_close_fn_t', baton: 'void *') -> "svn_error_t *": 7760 """svn_close_invoke_fn(svn_close_fn_t _obj, void * baton) -> svn_error_t""" 7761 return _core.svn_close_invoke_fn(_obj, baton) 7762 7763def svn_stream_invoke_mark_fn(*args) -> "svn_stream_mark_t **": 7764 """svn_stream_invoke_mark_fn(svn_stream_mark_fn_t _obj, void * baton, apr_pool_t pool) -> svn_error_t""" 7765 return _core.svn_stream_invoke_mark_fn(*args) 7766 7767def svn_stream_invoke_seek_fn(_obj: 'svn_stream_seek_fn_t', baton: 'void *', mark: 'svn_stream_mark_t const *') -> "svn_error_t *": 7768 """svn_stream_invoke_seek_fn(svn_stream_seek_fn_t _obj, void * baton, svn_stream_mark_t const * mark) -> svn_error_t""" 7769 return _core.svn_stream_invoke_seek_fn(_obj, baton, mark) 7770 7771def svn_stream_invoke_data_available_fn(_obj: 'svn_stream_data_available_fn_t', baton: 'void *') -> "svn_boolean_t *": 7772 """svn_stream_invoke_data_available_fn(svn_stream_data_available_fn_t _obj, void * baton) -> svn_error_t""" 7773 return _core.svn_stream_invoke_data_available_fn(_obj, baton) 7774 7775def svn_stream_invoke_readline_fn(*args) -> "svn_stringbuf_t **, svn_boolean_t *": 7776 """svn_stream_invoke_readline_fn(svn_stream_readline_fn_t _obj, void * baton, char const * eol, apr_pool_t pool) -> svn_error_t""" 7777 return _core.svn_stream_invoke_readline_fn(*args) 7778 7779def svn_stream_invoke_lazyopen_func(*args) -> "svn_stream_t **": 7780 """svn_stream_invoke_lazyopen_func(svn_stream_lazyopen_func_t _obj, void * baton, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 7781 return _core.svn_stream_invoke_lazyopen_func(*args) 7782 7783def svn_io_invoke_walk_func(*args) -> "svn_error_t *": 7784 """svn_io_invoke_walk_func(svn_io_walk_func_t _obj, void * baton, char const * path, apr_finfo_t const * finfo, apr_pool_t pool) -> svn_error_t""" 7785 return _core.svn_io_invoke_walk_func(*args) 7786class svn_read_fn_t(object): 7787 """Proxy of C svn_read_fn_t struct.""" 7788 7789 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 7790 7791 def __init__(self, *args, **kwargs): 7792 raise AttributeError("No constructor defined") 7793 __repr__ = _swig_repr 7794 def set_parent_pool(self, parent_pool=None): 7795 """Create a new proxy object for TYPE""" 7796 import libsvn.core, weakref 7797 self.__dict__["_parent_pool"] = \ 7798 parent_pool or libsvn.core.application_pool; 7799 if self.__dict__["_parent_pool"]: 7800 self.__dict__["_is_valid"] = weakref.ref( 7801 self.__dict__["_parent_pool"]._is_valid) 7802 7803 def assert_valid(self): 7804 """Assert that this object is using valid pool memory""" 7805 if "_is_valid" in self.__dict__: 7806 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 7807 7808 def _retrieve_swig_value(self, name, value): 7809 # If we got back a different object than we have cached, we need to copy 7810 # all our metadata into it, so that it looks identical to the one 7811 # originally set. 7812 members = self.__dict__.get('_members') 7813 if members is not None and name in members: 7814 _copy_metadata_deep(value, members[name]) 7815 7816 # Verify that the new object is good 7817 _assert_valid_deep(value) 7818 7819 return value 7820 7821 # Attribute access must be intercepted to ensure that objects coming from 7822 # read attribute access match those that are set with write attribute access. 7823 # Specifically the metadata, such as the associated apr_pool object, should 7824 # match the originally assigned object. 7825 # 7826 # For classic classes it is enough to use __getattr__ to intercept swig 7827 # derived attributes. However, with new style classes SWIG makes use of 7828 # descriptors which mean that __getattr__ is never called. Therefore, 7829 # __getattribute__ must be used for the interception. 7830 7831 if _newclass: 7832 def __getattribute__(self, name): 7833 """Manage access to all attributes of this object.""" 7834 7835 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 7836 # items directly present in __dict__ 7837 mydict = object.__getattribute__(self, '__dict__') 7838 7839 if name == "__dict__": 7840 return mydict 7841 7842 if name in mydict: 7843 return mydict[name] 7844 7845 object.__getattribute__(self, 'assert_valid')() 7846 7847 value = _get_instance_attr(self, name) 7848 fn = object.__getattribute__(self, '_retrieve_swig_value') 7849 return fn(name, value) 7850 else: 7851 def __getattr__(self, name): 7852 """Get an attribute from this object""" 7853 self.assert_valid() 7854 7855 value = _swig_getattr(self, self.__class__, name) 7856 7857 return self._retrieve_swig_value(name, value) 7858 7859 def __setattr__(self, name, value): 7860 """Set an attribute on this object""" 7861 self.assert_valid() 7862 7863 # Save a copy of the object, so that the garbage 7864 # collector won't kill the object while it's in 7865 # SWIG-land 7866 self.__dict__.setdefault("_members",{})[name] = value 7867 7868 return _set_instance_attr(self, name, value) 7869 7870 7871 def __call__(self, *args): 7872 return svn_read_invoke_fn(self, *args) 7873 7874svn_read_fn_t_swigregister = _core.svn_read_fn_t_swigregister 7875svn_read_fn_t_swigregister(svn_read_fn_t) 7876 7877class svn_stream_skip_fn_t(object): 7878 """Proxy of C svn_stream_skip_fn_t struct.""" 7879 7880 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 7881 7882 def __init__(self, *args, **kwargs): 7883 raise AttributeError("No constructor defined") 7884 __repr__ = _swig_repr 7885 def set_parent_pool(self, parent_pool=None): 7886 """Create a new proxy object for TYPE""" 7887 import libsvn.core, weakref 7888 self.__dict__["_parent_pool"] = \ 7889 parent_pool or libsvn.core.application_pool; 7890 if self.__dict__["_parent_pool"]: 7891 self.__dict__["_is_valid"] = weakref.ref( 7892 self.__dict__["_parent_pool"]._is_valid) 7893 7894 def assert_valid(self): 7895 """Assert that this object is using valid pool memory""" 7896 if "_is_valid" in self.__dict__: 7897 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 7898 7899 def _retrieve_swig_value(self, name, value): 7900 # If we got back a different object than we have cached, we need to copy 7901 # all our metadata into it, so that it looks identical to the one 7902 # originally set. 7903 members = self.__dict__.get('_members') 7904 if members is not None and name in members: 7905 _copy_metadata_deep(value, members[name]) 7906 7907 # Verify that the new object is good 7908 _assert_valid_deep(value) 7909 7910 return value 7911 7912 # Attribute access must be intercepted to ensure that objects coming from 7913 # read attribute access match those that are set with write attribute access. 7914 # Specifically the metadata, such as the associated apr_pool object, should 7915 # match the originally assigned object. 7916 # 7917 # For classic classes it is enough to use __getattr__ to intercept swig 7918 # derived attributes. However, with new style classes SWIG makes use of 7919 # descriptors which mean that __getattr__ is never called. Therefore, 7920 # __getattribute__ must be used for the interception. 7921 7922 if _newclass: 7923 def __getattribute__(self, name): 7924 """Manage access to all attributes of this object.""" 7925 7926 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 7927 # items directly present in __dict__ 7928 mydict = object.__getattribute__(self, '__dict__') 7929 7930 if name == "__dict__": 7931 return mydict 7932 7933 if name in mydict: 7934 return mydict[name] 7935 7936 object.__getattribute__(self, 'assert_valid')() 7937 7938 value = _get_instance_attr(self, name) 7939 fn = object.__getattribute__(self, '_retrieve_swig_value') 7940 return fn(name, value) 7941 else: 7942 def __getattr__(self, name): 7943 """Get an attribute from this object""" 7944 self.assert_valid() 7945 7946 value = _swig_getattr(self, self.__class__, name) 7947 7948 return self._retrieve_swig_value(name, value) 7949 7950 def __setattr__(self, name, value): 7951 """Set an attribute on this object""" 7952 self.assert_valid() 7953 7954 # Save a copy of the object, so that the garbage 7955 # collector won't kill the object while it's in 7956 # SWIG-land 7957 self.__dict__.setdefault("_members",{})[name] = value 7958 7959 return _set_instance_attr(self, name, value) 7960 7961 7962 def __call__(self, *args): 7963 return svn_stream_invoke_skip_fn(self, *args) 7964 7965svn_stream_skip_fn_t_swigregister = _core.svn_stream_skip_fn_t_swigregister 7966svn_stream_skip_fn_t_swigregister(svn_stream_skip_fn_t) 7967 7968class svn_write_fn_t(object): 7969 """Proxy of C svn_write_fn_t struct.""" 7970 7971 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 7972 7973 def __init__(self, *args, **kwargs): 7974 raise AttributeError("No constructor defined") 7975 __repr__ = _swig_repr 7976 def set_parent_pool(self, parent_pool=None): 7977 """Create a new proxy object for TYPE""" 7978 import libsvn.core, weakref 7979 self.__dict__["_parent_pool"] = \ 7980 parent_pool or libsvn.core.application_pool; 7981 if self.__dict__["_parent_pool"]: 7982 self.__dict__["_is_valid"] = weakref.ref( 7983 self.__dict__["_parent_pool"]._is_valid) 7984 7985 def assert_valid(self): 7986 """Assert that this object is using valid pool memory""" 7987 if "_is_valid" in self.__dict__: 7988 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 7989 7990 def _retrieve_swig_value(self, name, value): 7991 # If we got back a different object than we have cached, we need to copy 7992 # all our metadata into it, so that it looks identical to the one 7993 # originally set. 7994 members = self.__dict__.get('_members') 7995 if members is not None and name in members: 7996 _copy_metadata_deep(value, members[name]) 7997 7998 # Verify that the new object is good 7999 _assert_valid_deep(value) 8000 8001 return value 8002 8003 # Attribute access must be intercepted to ensure that objects coming from 8004 # read attribute access match those that are set with write attribute access. 8005 # Specifically the metadata, such as the associated apr_pool object, should 8006 # match the originally assigned object. 8007 # 8008 # For classic classes it is enough to use __getattr__ to intercept swig 8009 # derived attributes. However, with new style classes SWIG makes use of 8010 # descriptors which mean that __getattr__ is never called. Therefore, 8011 # __getattribute__ must be used for the interception. 8012 8013 if _newclass: 8014 def __getattribute__(self, name): 8015 """Manage access to all attributes of this object.""" 8016 8017 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 8018 # items directly present in __dict__ 8019 mydict = object.__getattribute__(self, '__dict__') 8020 8021 if name == "__dict__": 8022 return mydict 8023 8024 if name in mydict: 8025 return mydict[name] 8026 8027 object.__getattribute__(self, 'assert_valid')() 8028 8029 value = _get_instance_attr(self, name) 8030 fn = object.__getattribute__(self, '_retrieve_swig_value') 8031 return fn(name, value) 8032 else: 8033 def __getattr__(self, name): 8034 """Get an attribute from this object""" 8035 self.assert_valid() 8036 8037 value = _swig_getattr(self, self.__class__, name) 8038 8039 return self._retrieve_swig_value(name, value) 8040 8041 def __setattr__(self, name, value): 8042 """Set an attribute on this object""" 8043 self.assert_valid() 8044 8045 # Save a copy of the object, so that the garbage 8046 # collector won't kill the object while it's in 8047 # SWIG-land 8048 self.__dict__.setdefault("_members",{})[name] = value 8049 8050 return _set_instance_attr(self, name, value) 8051 8052 8053 def __call__(self, *args): 8054 return svn_write_invoke_fn(self, *args) 8055 8056svn_write_fn_t_swigregister = _core.svn_write_fn_t_swigregister 8057svn_write_fn_t_swigregister(svn_write_fn_t) 8058 8059class svn_close_fn_t(object): 8060 """Proxy of C svn_close_fn_t struct.""" 8061 8062 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 8063 8064 def __init__(self, *args, **kwargs): 8065 raise AttributeError("No constructor defined") 8066 __repr__ = _swig_repr 8067 def set_parent_pool(self, parent_pool=None): 8068 """Create a new proxy object for TYPE""" 8069 import libsvn.core, weakref 8070 self.__dict__["_parent_pool"] = \ 8071 parent_pool or libsvn.core.application_pool; 8072 if self.__dict__["_parent_pool"]: 8073 self.__dict__["_is_valid"] = weakref.ref( 8074 self.__dict__["_parent_pool"]._is_valid) 8075 8076 def assert_valid(self): 8077 """Assert that this object is using valid pool memory""" 8078 if "_is_valid" in self.__dict__: 8079 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 8080 8081 def _retrieve_swig_value(self, name, value): 8082 # If we got back a different object than we have cached, we need to copy 8083 # all our metadata into it, so that it looks identical to the one 8084 # originally set. 8085 members = self.__dict__.get('_members') 8086 if members is not None and name in members: 8087 _copy_metadata_deep(value, members[name]) 8088 8089 # Verify that the new object is good 8090 _assert_valid_deep(value) 8091 8092 return value 8093 8094 # Attribute access must be intercepted to ensure that objects coming from 8095 # read attribute access match those that are set with write attribute access. 8096 # Specifically the metadata, such as the associated apr_pool object, should 8097 # match the originally assigned object. 8098 # 8099 # For classic classes it is enough to use __getattr__ to intercept swig 8100 # derived attributes. However, with new style classes SWIG makes use of 8101 # descriptors which mean that __getattr__ is never called. Therefore, 8102 # __getattribute__ must be used for the interception. 8103 8104 if _newclass: 8105 def __getattribute__(self, name): 8106 """Manage access to all attributes of this object.""" 8107 8108 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 8109 # items directly present in __dict__ 8110 mydict = object.__getattribute__(self, '__dict__') 8111 8112 if name == "__dict__": 8113 return mydict 8114 8115 if name in mydict: 8116 return mydict[name] 8117 8118 object.__getattribute__(self, 'assert_valid')() 8119 8120 value = _get_instance_attr(self, name) 8121 fn = object.__getattribute__(self, '_retrieve_swig_value') 8122 return fn(name, value) 8123 else: 8124 def __getattr__(self, name): 8125 """Get an attribute from this object""" 8126 self.assert_valid() 8127 8128 value = _swig_getattr(self, self.__class__, name) 8129 8130 return self._retrieve_swig_value(name, value) 8131 8132 def __setattr__(self, name, value): 8133 """Set an attribute on this object""" 8134 self.assert_valid() 8135 8136 # Save a copy of the object, so that the garbage 8137 # collector won't kill the object while it's in 8138 # SWIG-land 8139 self.__dict__.setdefault("_members",{})[name] = value 8140 8141 return _set_instance_attr(self, name, value) 8142 8143 8144 def __call__(self, *args): 8145 return svn_close_invoke_fn(self, *args) 8146 8147svn_close_fn_t_swigregister = _core.svn_close_fn_t_swigregister 8148svn_close_fn_t_swigregister(svn_close_fn_t) 8149 8150class svn_stream_mark_fn_t(object): 8151 """Proxy of C svn_stream_mark_fn_t struct.""" 8152 8153 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 8154 8155 def __init__(self, *args, **kwargs): 8156 raise AttributeError("No constructor defined") 8157 __repr__ = _swig_repr 8158 def set_parent_pool(self, parent_pool=None): 8159 """Create a new proxy object for TYPE""" 8160 import libsvn.core, weakref 8161 self.__dict__["_parent_pool"] = \ 8162 parent_pool or libsvn.core.application_pool; 8163 if self.__dict__["_parent_pool"]: 8164 self.__dict__["_is_valid"] = weakref.ref( 8165 self.__dict__["_parent_pool"]._is_valid) 8166 8167 def assert_valid(self): 8168 """Assert that this object is using valid pool memory""" 8169 if "_is_valid" in self.__dict__: 8170 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 8171 8172 def _retrieve_swig_value(self, name, value): 8173 # If we got back a different object than we have cached, we need to copy 8174 # all our metadata into it, so that it looks identical to the one 8175 # originally set. 8176 members = self.__dict__.get('_members') 8177 if members is not None and name in members: 8178 _copy_metadata_deep(value, members[name]) 8179 8180 # Verify that the new object is good 8181 _assert_valid_deep(value) 8182 8183 return value 8184 8185 # Attribute access must be intercepted to ensure that objects coming from 8186 # read attribute access match those that are set with write attribute access. 8187 # Specifically the metadata, such as the associated apr_pool object, should 8188 # match the originally assigned object. 8189 # 8190 # For classic classes it is enough to use __getattr__ to intercept swig 8191 # derived attributes. However, with new style classes SWIG makes use of 8192 # descriptors which mean that __getattr__ is never called. Therefore, 8193 # __getattribute__ must be used for the interception. 8194 8195 if _newclass: 8196 def __getattribute__(self, name): 8197 """Manage access to all attributes of this object.""" 8198 8199 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 8200 # items directly present in __dict__ 8201 mydict = object.__getattribute__(self, '__dict__') 8202 8203 if name == "__dict__": 8204 return mydict 8205 8206 if name in mydict: 8207 return mydict[name] 8208 8209 object.__getattribute__(self, 'assert_valid')() 8210 8211 value = _get_instance_attr(self, name) 8212 fn = object.__getattribute__(self, '_retrieve_swig_value') 8213 return fn(name, value) 8214 else: 8215 def __getattr__(self, name): 8216 """Get an attribute from this object""" 8217 self.assert_valid() 8218 8219 value = _swig_getattr(self, self.__class__, name) 8220 8221 return self._retrieve_swig_value(name, value) 8222 8223 def __setattr__(self, name, value): 8224 """Set an attribute on this object""" 8225 self.assert_valid() 8226 8227 # Save a copy of the object, so that the garbage 8228 # collector won't kill the object while it's in 8229 # SWIG-land 8230 self.__dict__.setdefault("_members",{})[name] = value 8231 8232 return _set_instance_attr(self, name, value) 8233 8234 8235 def __call__(self, *args): 8236 return svn_stream_invoke_mark_fn(self, *args) 8237 8238svn_stream_mark_fn_t_swigregister = _core.svn_stream_mark_fn_t_swigregister 8239svn_stream_mark_fn_t_swigregister(svn_stream_mark_fn_t) 8240 8241class svn_stream_seek_fn_t(object): 8242 """Proxy of C svn_stream_seek_fn_t struct.""" 8243 8244 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 8245 8246 def __init__(self, *args, **kwargs): 8247 raise AttributeError("No constructor defined") 8248 __repr__ = _swig_repr 8249 def set_parent_pool(self, parent_pool=None): 8250 """Create a new proxy object for TYPE""" 8251 import libsvn.core, weakref 8252 self.__dict__["_parent_pool"] = \ 8253 parent_pool or libsvn.core.application_pool; 8254 if self.__dict__["_parent_pool"]: 8255 self.__dict__["_is_valid"] = weakref.ref( 8256 self.__dict__["_parent_pool"]._is_valid) 8257 8258 def assert_valid(self): 8259 """Assert that this object is using valid pool memory""" 8260 if "_is_valid" in self.__dict__: 8261 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 8262 8263 def _retrieve_swig_value(self, name, value): 8264 # If we got back a different object than we have cached, we need to copy 8265 # all our metadata into it, so that it looks identical to the one 8266 # originally set. 8267 members = self.__dict__.get('_members') 8268 if members is not None and name in members: 8269 _copy_metadata_deep(value, members[name]) 8270 8271 # Verify that the new object is good 8272 _assert_valid_deep(value) 8273 8274 return value 8275 8276 # Attribute access must be intercepted to ensure that objects coming from 8277 # read attribute access match those that are set with write attribute access. 8278 # Specifically the metadata, such as the associated apr_pool object, should 8279 # match the originally assigned object. 8280 # 8281 # For classic classes it is enough to use __getattr__ to intercept swig 8282 # derived attributes. However, with new style classes SWIG makes use of 8283 # descriptors which mean that __getattr__ is never called. Therefore, 8284 # __getattribute__ must be used for the interception. 8285 8286 if _newclass: 8287 def __getattribute__(self, name): 8288 """Manage access to all attributes of this object.""" 8289 8290 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 8291 # items directly present in __dict__ 8292 mydict = object.__getattribute__(self, '__dict__') 8293 8294 if name == "__dict__": 8295 return mydict 8296 8297 if name in mydict: 8298 return mydict[name] 8299 8300 object.__getattribute__(self, 'assert_valid')() 8301 8302 value = _get_instance_attr(self, name) 8303 fn = object.__getattribute__(self, '_retrieve_swig_value') 8304 return fn(name, value) 8305 else: 8306 def __getattr__(self, name): 8307 """Get an attribute from this object""" 8308 self.assert_valid() 8309 8310 value = _swig_getattr(self, self.__class__, name) 8311 8312 return self._retrieve_swig_value(name, value) 8313 8314 def __setattr__(self, name, value): 8315 """Set an attribute on this object""" 8316 self.assert_valid() 8317 8318 # Save a copy of the object, so that the garbage 8319 # collector won't kill the object while it's in 8320 # SWIG-land 8321 self.__dict__.setdefault("_members",{})[name] = value 8322 8323 return _set_instance_attr(self, name, value) 8324 8325 8326 def __call__(self, *args): 8327 return svn_stream_invoke_seek_fn(self, *args) 8328 8329svn_stream_seek_fn_t_swigregister = _core.svn_stream_seek_fn_t_swigregister 8330svn_stream_seek_fn_t_swigregister(svn_stream_seek_fn_t) 8331 8332class svn_stream_data_available_fn_t(object): 8333 """Proxy of C svn_stream_data_available_fn_t struct.""" 8334 8335 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 8336 8337 def __init__(self, *args, **kwargs): 8338 raise AttributeError("No constructor defined") 8339 __repr__ = _swig_repr 8340 def set_parent_pool(self, parent_pool=None): 8341 """Create a new proxy object for TYPE""" 8342 import libsvn.core, weakref 8343 self.__dict__["_parent_pool"] = \ 8344 parent_pool or libsvn.core.application_pool; 8345 if self.__dict__["_parent_pool"]: 8346 self.__dict__["_is_valid"] = weakref.ref( 8347 self.__dict__["_parent_pool"]._is_valid) 8348 8349 def assert_valid(self): 8350 """Assert that this object is using valid pool memory""" 8351 if "_is_valid" in self.__dict__: 8352 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 8353 8354 def _retrieve_swig_value(self, name, value): 8355 # If we got back a different object than we have cached, we need to copy 8356 # all our metadata into it, so that it looks identical to the one 8357 # originally set. 8358 members = self.__dict__.get('_members') 8359 if members is not None and name in members: 8360 _copy_metadata_deep(value, members[name]) 8361 8362 # Verify that the new object is good 8363 _assert_valid_deep(value) 8364 8365 return value 8366 8367 # Attribute access must be intercepted to ensure that objects coming from 8368 # read attribute access match those that are set with write attribute access. 8369 # Specifically the metadata, such as the associated apr_pool object, should 8370 # match the originally assigned object. 8371 # 8372 # For classic classes it is enough to use __getattr__ to intercept swig 8373 # derived attributes. However, with new style classes SWIG makes use of 8374 # descriptors which mean that __getattr__ is never called. Therefore, 8375 # __getattribute__ must be used for the interception. 8376 8377 if _newclass: 8378 def __getattribute__(self, name): 8379 """Manage access to all attributes of this object.""" 8380 8381 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 8382 # items directly present in __dict__ 8383 mydict = object.__getattribute__(self, '__dict__') 8384 8385 if name == "__dict__": 8386 return mydict 8387 8388 if name in mydict: 8389 return mydict[name] 8390 8391 object.__getattribute__(self, 'assert_valid')() 8392 8393 value = _get_instance_attr(self, name) 8394 fn = object.__getattribute__(self, '_retrieve_swig_value') 8395 return fn(name, value) 8396 else: 8397 def __getattr__(self, name): 8398 """Get an attribute from this object""" 8399 self.assert_valid() 8400 8401 value = _swig_getattr(self, self.__class__, name) 8402 8403 return self._retrieve_swig_value(name, value) 8404 8405 def __setattr__(self, name, value): 8406 """Set an attribute on this object""" 8407 self.assert_valid() 8408 8409 # Save a copy of the object, so that the garbage 8410 # collector won't kill the object while it's in 8411 # SWIG-land 8412 self.__dict__.setdefault("_members",{})[name] = value 8413 8414 return _set_instance_attr(self, name, value) 8415 8416 8417 def __call__(self, *args): 8418 return svn_stream_invoke_data_available_fn(self, *args) 8419 8420svn_stream_data_available_fn_t_swigregister = _core.svn_stream_data_available_fn_t_swigregister 8421svn_stream_data_available_fn_t_swigregister(svn_stream_data_available_fn_t) 8422 8423class svn_stream_readline_fn_t(object): 8424 """Proxy of C svn_stream_readline_fn_t struct.""" 8425 8426 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 8427 8428 def __init__(self, *args, **kwargs): 8429 raise AttributeError("No constructor defined") 8430 __repr__ = _swig_repr 8431 def set_parent_pool(self, parent_pool=None): 8432 """Create a new proxy object for TYPE""" 8433 import libsvn.core, weakref 8434 self.__dict__["_parent_pool"] = \ 8435 parent_pool or libsvn.core.application_pool; 8436 if self.__dict__["_parent_pool"]: 8437 self.__dict__["_is_valid"] = weakref.ref( 8438 self.__dict__["_parent_pool"]._is_valid) 8439 8440 def assert_valid(self): 8441 """Assert that this object is using valid pool memory""" 8442 if "_is_valid" in self.__dict__: 8443 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 8444 8445 def _retrieve_swig_value(self, name, value): 8446 # If we got back a different object than we have cached, we need to copy 8447 # all our metadata into it, so that it looks identical to the one 8448 # originally set. 8449 members = self.__dict__.get('_members') 8450 if members is not None and name in members: 8451 _copy_metadata_deep(value, members[name]) 8452 8453 # Verify that the new object is good 8454 _assert_valid_deep(value) 8455 8456 return value 8457 8458 # Attribute access must be intercepted to ensure that objects coming from 8459 # read attribute access match those that are set with write attribute access. 8460 # Specifically the metadata, such as the associated apr_pool object, should 8461 # match the originally assigned object. 8462 # 8463 # For classic classes it is enough to use __getattr__ to intercept swig 8464 # derived attributes. However, with new style classes SWIG makes use of 8465 # descriptors which mean that __getattr__ is never called. Therefore, 8466 # __getattribute__ must be used for the interception. 8467 8468 if _newclass: 8469 def __getattribute__(self, name): 8470 """Manage access to all attributes of this object.""" 8471 8472 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 8473 # items directly present in __dict__ 8474 mydict = object.__getattribute__(self, '__dict__') 8475 8476 if name == "__dict__": 8477 return mydict 8478 8479 if name in mydict: 8480 return mydict[name] 8481 8482 object.__getattribute__(self, 'assert_valid')() 8483 8484 value = _get_instance_attr(self, name) 8485 fn = object.__getattribute__(self, '_retrieve_swig_value') 8486 return fn(name, value) 8487 else: 8488 def __getattr__(self, name): 8489 """Get an attribute from this object""" 8490 self.assert_valid() 8491 8492 value = _swig_getattr(self, self.__class__, name) 8493 8494 return self._retrieve_swig_value(name, value) 8495 8496 def __setattr__(self, name, value): 8497 """Set an attribute on this object""" 8498 self.assert_valid() 8499 8500 # Save a copy of the object, so that the garbage 8501 # collector won't kill the object while it's in 8502 # SWIG-land 8503 self.__dict__.setdefault("_members",{})[name] = value 8504 8505 return _set_instance_attr(self, name, value) 8506 8507 8508 def __call__(self, *args): 8509 return svn_stream_invoke_readline_fn(self, *args) 8510 8511svn_stream_readline_fn_t_swigregister = _core.svn_stream_readline_fn_t_swigregister 8512svn_stream_readline_fn_t_swigregister(svn_stream_readline_fn_t) 8513 8514class svn_stream_lazyopen_func_t(object): 8515 """Proxy of C svn_stream_lazyopen_func_t struct.""" 8516 8517 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 8518 8519 def __init__(self, *args, **kwargs): 8520 raise AttributeError("No constructor defined") 8521 __repr__ = _swig_repr 8522 def set_parent_pool(self, parent_pool=None): 8523 """Create a new proxy object for TYPE""" 8524 import libsvn.core, weakref 8525 self.__dict__["_parent_pool"] = \ 8526 parent_pool or libsvn.core.application_pool; 8527 if self.__dict__["_parent_pool"]: 8528 self.__dict__["_is_valid"] = weakref.ref( 8529 self.__dict__["_parent_pool"]._is_valid) 8530 8531 def assert_valid(self): 8532 """Assert that this object is using valid pool memory""" 8533 if "_is_valid" in self.__dict__: 8534 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 8535 8536 def _retrieve_swig_value(self, name, value): 8537 # If we got back a different object than we have cached, we need to copy 8538 # all our metadata into it, so that it looks identical to the one 8539 # originally set. 8540 members = self.__dict__.get('_members') 8541 if members is not None and name in members: 8542 _copy_metadata_deep(value, members[name]) 8543 8544 # Verify that the new object is good 8545 _assert_valid_deep(value) 8546 8547 return value 8548 8549 # Attribute access must be intercepted to ensure that objects coming from 8550 # read attribute access match those that are set with write attribute access. 8551 # Specifically the metadata, such as the associated apr_pool object, should 8552 # match the originally assigned object. 8553 # 8554 # For classic classes it is enough to use __getattr__ to intercept swig 8555 # derived attributes. However, with new style classes SWIG makes use of 8556 # descriptors which mean that __getattr__ is never called. Therefore, 8557 # __getattribute__ must be used for the interception. 8558 8559 if _newclass: 8560 def __getattribute__(self, name): 8561 """Manage access to all attributes of this object.""" 8562 8563 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 8564 # items directly present in __dict__ 8565 mydict = object.__getattribute__(self, '__dict__') 8566 8567 if name == "__dict__": 8568 return mydict 8569 8570 if name in mydict: 8571 return mydict[name] 8572 8573 object.__getattribute__(self, 'assert_valid')() 8574 8575 value = _get_instance_attr(self, name) 8576 fn = object.__getattribute__(self, '_retrieve_swig_value') 8577 return fn(name, value) 8578 else: 8579 def __getattr__(self, name): 8580 """Get an attribute from this object""" 8581 self.assert_valid() 8582 8583 value = _swig_getattr(self, self.__class__, name) 8584 8585 return self._retrieve_swig_value(name, value) 8586 8587 def __setattr__(self, name, value): 8588 """Set an attribute on this object""" 8589 self.assert_valid() 8590 8591 # Save a copy of the object, so that the garbage 8592 # collector won't kill the object while it's in 8593 # SWIG-land 8594 self.__dict__.setdefault("_members",{})[name] = value 8595 8596 return _set_instance_attr(self, name, value) 8597 8598 8599 def __call__(self, *args): 8600 return svn_stream_invoke_lazyopen_func(self, *args) 8601 8602svn_stream_lazyopen_func_t_swigregister = _core.svn_stream_lazyopen_func_t_swigregister 8603svn_stream_lazyopen_func_t_swigregister(svn_stream_lazyopen_func_t) 8604 8605class svn_io_walk_func_t(object): 8606 """Proxy of C svn_io_walk_func_t struct.""" 8607 8608 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 8609 8610 def __init__(self, *args, **kwargs): 8611 raise AttributeError("No constructor defined") 8612 __repr__ = _swig_repr 8613 def set_parent_pool(self, parent_pool=None): 8614 """Create a new proxy object for TYPE""" 8615 import libsvn.core, weakref 8616 self.__dict__["_parent_pool"] = \ 8617 parent_pool or libsvn.core.application_pool; 8618 if self.__dict__["_parent_pool"]: 8619 self.__dict__["_is_valid"] = weakref.ref( 8620 self.__dict__["_parent_pool"]._is_valid) 8621 8622 def assert_valid(self): 8623 """Assert that this object is using valid pool memory""" 8624 if "_is_valid" in self.__dict__: 8625 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 8626 8627 def _retrieve_swig_value(self, name, value): 8628 # If we got back a different object than we have cached, we need to copy 8629 # all our metadata into it, so that it looks identical to the one 8630 # originally set. 8631 members = self.__dict__.get('_members') 8632 if members is not None and name in members: 8633 _copy_metadata_deep(value, members[name]) 8634 8635 # Verify that the new object is good 8636 _assert_valid_deep(value) 8637 8638 return value 8639 8640 # Attribute access must be intercepted to ensure that objects coming from 8641 # read attribute access match those that are set with write attribute access. 8642 # Specifically the metadata, such as the associated apr_pool object, should 8643 # match the originally assigned object. 8644 # 8645 # For classic classes it is enough to use __getattr__ to intercept swig 8646 # derived attributes. However, with new style classes SWIG makes use of 8647 # descriptors which mean that __getattr__ is never called. Therefore, 8648 # __getattribute__ must be used for the interception. 8649 8650 if _newclass: 8651 def __getattribute__(self, name): 8652 """Manage access to all attributes of this object.""" 8653 8654 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 8655 # items directly present in __dict__ 8656 mydict = object.__getattribute__(self, '__dict__') 8657 8658 if name == "__dict__": 8659 return mydict 8660 8661 if name in mydict: 8662 return mydict[name] 8663 8664 object.__getattribute__(self, 'assert_valid')() 8665 8666 value = _get_instance_attr(self, name) 8667 fn = object.__getattribute__(self, '_retrieve_swig_value') 8668 return fn(name, value) 8669 else: 8670 def __getattr__(self, name): 8671 """Get an attribute from this object""" 8672 self.assert_valid() 8673 8674 value = _swig_getattr(self, self.__class__, name) 8675 8676 return self._retrieve_swig_value(name, value) 8677 8678 def __setattr__(self, name, value): 8679 """Set an attribute on this object""" 8680 self.assert_valid() 8681 8682 # Save a copy of the object, so that the garbage 8683 # collector won't kill the object while it's in 8684 # SWIG-land 8685 self.__dict__.setdefault("_members",{})[name] = value 8686 8687 return _set_instance_attr(self, name, value) 8688 8689 8690 def __call__(self, *args): 8691 return svn_io_invoke_walk_func(self, *args) 8692 8693svn_io_walk_func_t_swigregister = _core.svn_io_walk_func_t_swigregister 8694svn_io_walk_func_t_swigregister(svn_io_walk_func_t) 8695 8696svn_checksum_md5 = _core.svn_checksum_md5 8697svn_checksum_sha1 = _core.svn_checksum_sha1 8698svn_checksum_fnv1a_32 = _core.svn_checksum_fnv1a_32 8699svn_checksum_fnv1a_32x4 = _core.svn_checksum_fnv1a_32x4 8700class svn_checksum_t(object): 8701 """Proxy of C svn_checksum_t struct.""" 8702 8703 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 8704 __repr__ = _swig_repr 8705 digest = _swig_property(_core.svn_checksum_t_digest_get, _core.svn_checksum_t_digest_set) 8706 kind = _swig_property(_core.svn_checksum_t_kind_get, _core.svn_checksum_t_kind_set) 8707 def set_parent_pool(self, parent_pool=None): 8708 """Create a new proxy object for TYPE""" 8709 import libsvn.core, weakref 8710 self.__dict__["_parent_pool"] = \ 8711 parent_pool or libsvn.core.application_pool; 8712 if self.__dict__["_parent_pool"]: 8713 self.__dict__["_is_valid"] = weakref.ref( 8714 self.__dict__["_parent_pool"]._is_valid) 8715 8716 def assert_valid(self): 8717 """Assert that this object is using valid pool memory""" 8718 if "_is_valid" in self.__dict__: 8719 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 8720 8721 def _retrieve_swig_value(self, name, value): 8722 # If we got back a different object than we have cached, we need to copy 8723 # all our metadata into it, so that it looks identical to the one 8724 # originally set. 8725 members = self.__dict__.get('_members') 8726 if members is not None and name in members: 8727 _copy_metadata_deep(value, members[name]) 8728 8729 # Verify that the new object is good 8730 _assert_valid_deep(value) 8731 8732 return value 8733 8734 # Attribute access must be intercepted to ensure that objects coming from 8735 # read attribute access match those that are set with write attribute access. 8736 # Specifically the metadata, such as the associated apr_pool object, should 8737 # match the originally assigned object. 8738 # 8739 # For classic classes it is enough to use __getattr__ to intercept swig 8740 # derived attributes. However, with new style classes SWIG makes use of 8741 # descriptors which mean that __getattr__ is never called. Therefore, 8742 # __getattribute__ must be used for the interception. 8743 8744 if _newclass: 8745 def __getattribute__(self, name): 8746 """Manage access to all attributes of this object.""" 8747 8748 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 8749 # items directly present in __dict__ 8750 mydict = object.__getattribute__(self, '__dict__') 8751 8752 if name == "__dict__": 8753 return mydict 8754 8755 if name in mydict: 8756 return mydict[name] 8757 8758 object.__getattribute__(self, 'assert_valid')() 8759 8760 value = _get_instance_attr(self, name) 8761 fn = object.__getattribute__(self, '_retrieve_swig_value') 8762 return fn(name, value) 8763 else: 8764 def __getattr__(self, name): 8765 """Get an attribute from this object""" 8766 self.assert_valid() 8767 8768 value = _swig_getattr(self, self.__class__, name) 8769 8770 return self._retrieve_swig_value(name, value) 8771 8772 def __setattr__(self, name, value): 8773 """Set an attribute on this object""" 8774 self.assert_valid() 8775 8776 # Save a copy of the object, so that the garbage 8777 # collector won't kill the object while it's in 8778 # SWIG-land 8779 self.__dict__.setdefault("_members",{})[name] = value 8780 8781 return _set_instance_attr(self, name, value) 8782 8783 8784 def __init__(self): 8785 """__init__(svn_checksum_t self) -> svn_checksum_t""" 8786 this = _core.new_svn_checksum_t() 8787 try: 8788 self.this.append(this) 8789 except __builtin__.Exception: 8790 self.this = this 8791 __swig_destroy__ = _core.delete_svn_checksum_t 8792 __del__ = lambda self: None 8793svn_checksum_t_swigregister = _core.svn_checksum_t_swigregister 8794svn_checksum_t_swigregister(svn_checksum_t) 8795 8796 8797def svn_checksum_create(*args) -> "svn_checksum_t *": 8798 """svn_checksum_create(svn_checksum_kind_t kind, apr_pool_t pool) -> svn_checksum_t""" 8799 return _core.svn_checksum_create(*args) 8800 8801def svn_checksum_clear(checksum: 'svn_checksum_t') -> "svn_error_t *": 8802 """svn_checksum_clear(svn_checksum_t checksum) -> svn_error_t""" 8803 return _core.svn_checksum_clear(checksum) 8804 8805def svn_checksum_match(checksum1: 'svn_checksum_t', checksum2: 'svn_checksum_t') -> "svn_boolean_t": 8806 """svn_checksum_match(svn_checksum_t checksum1, svn_checksum_t checksum2) -> svn_boolean_t""" 8807 return _core.svn_checksum_match(checksum1, checksum2) 8808 8809def svn_checksum_dup(*args) -> "svn_checksum_t *": 8810 """svn_checksum_dup(svn_checksum_t checksum, apr_pool_t pool) -> svn_checksum_t""" 8811 return _core.svn_checksum_dup(*args) 8812 8813def svn_checksum_to_cstring_display(*args) -> "char const *": 8814 """svn_checksum_to_cstring_display(svn_checksum_t checksum, apr_pool_t pool) -> char const *""" 8815 return _core.svn_checksum_to_cstring_display(*args) 8816 8817def svn_checksum_to_cstring(*args) -> "char const *": 8818 """svn_checksum_to_cstring(svn_checksum_t checksum, apr_pool_t pool) -> char const *""" 8819 return _core.svn_checksum_to_cstring(*args) 8820 8821def svn_checksum_serialize(*args) -> "char const *": 8822 """svn_checksum_serialize(svn_checksum_t checksum, apr_pool_t result_pool, apr_pool_t scratch_pool) -> char const *""" 8823 return _core.svn_checksum_serialize(*args) 8824 8825def svn_checksum_deserialize(*args) -> "svn_checksum_t **": 8826 """svn_checksum_deserialize(char const * data, apr_pool_t result_pool, apr_pool_t scratch_pool) -> svn_error_t""" 8827 return _core.svn_checksum_deserialize(*args) 8828 8829def svn_checksum_parse_hex(*args) -> "svn_checksum_t **": 8830 """svn_checksum_parse_hex(svn_checksum_kind_t kind, char const * hex, apr_pool_t pool) -> svn_error_t""" 8831 return _core.svn_checksum_parse_hex(*args) 8832 8833def svn_checksum(*args) -> "svn_checksum_t **": 8834 """svn_checksum(svn_checksum_kind_t kind, void const * data, apr_size_t len, apr_pool_t pool) -> svn_error_t""" 8835 return _core.svn_checksum(*args) 8836 8837def svn_checksum_empty_checksum(*args) -> "svn_checksum_t *": 8838 """svn_checksum_empty_checksum(svn_checksum_kind_t kind, apr_pool_t pool) -> svn_checksum_t""" 8839 return _core.svn_checksum_empty_checksum(*args) 8840 8841def svn_checksum_ctx_create(*args) -> "svn_checksum_ctx_t *": 8842 """svn_checksum_ctx_create(svn_checksum_kind_t kind, apr_pool_t pool) -> svn_checksum_ctx_t *""" 8843 return _core.svn_checksum_ctx_create(*args) 8844 8845def svn_checksum_ctx_reset(ctx: 'svn_checksum_ctx_t *') -> "svn_error_t *": 8846 """svn_checksum_ctx_reset(svn_checksum_ctx_t * ctx) -> svn_error_t""" 8847 return _core.svn_checksum_ctx_reset(ctx) 8848 8849def svn_checksum_update(ctx: 'svn_checksum_ctx_t *', data: 'void const *', len: 'apr_size_t') -> "svn_error_t *": 8850 """svn_checksum_update(svn_checksum_ctx_t * ctx, void const * data, apr_size_t len) -> svn_error_t""" 8851 return _core.svn_checksum_update(ctx, data, len) 8852 8853def svn_checksum_final(*args) -> "svn_checksum_t **": 8854 """svn_checksum_final(svn_checksum_ctx_t const * ctx, apr_pool_t pool) -> svn_error_t""" 8855 return _core.svn_checksum_final(*args) 8856 8857def svn_checksum_size(checksum: 'svn_checksum_t') -> "apr_size_t": 8858 """svn_checksum_size(svn_checksum_t checksum) -> apr_size_t""" 8859 return _core.svn_checksum_size(checksum) 8860 8861def svn_checksum_is_empty_checksum(checksum: 'svn_checksum_t') -> "svn_boolean_t": 8862 """svn_checksum_is_empty_checksum(svn_checksum_t checksum) -> svn_boolean_t""" 8863 return _core.svn_checksum_is_empty_checksum(checksum) 8864 8865def svn_checksum_mismatch_err(*args) -> "svn_error_t *": 8866 """svn_checksum_mismatch_err(svn_checksum_t expected, svn_checksum_t actual, apr_pool_t scratch_pool, char const * fmt) -> svn_error_t""" 8867 return _core.svn_checksum_mismatch_err(*args) 8868class svn_checksum_ctx_t(object): 8869 """Proxy of C svn_checksum_ctx_t struct.""" 8870 8871 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 8872 8873 def __init__(self, *args, **kwargs): 8874 raise AttributeError("No constructor defined") 8875 __repr__ = _swig_repr 8876 def set_parent_pool(self, parent_pool=None): 8877 """Create a new proxy object for TYPE""" 8878 import libsvn.core, weakref 8879 self.__dict__["_parent_pool"] = \ 8880 parent_pool or libsvn.core.application_pool; 8881 if self.__dict__["_parent_pool"]: 8882 self.__dict__["_is_valid"] = weakref.ref( 8883 self.__dict__["_parent_pool"]._is_valid) 8884 8885 def assert_valid(self): 8886 """Assert that this object is using valid pool memory""" 8887 if "_is_valid" in self.__dict__: 8888 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 8889 8890 def _retrieve_swig_value(self, name, value): 8891 # If we got back a different object than we have cached, we need to copy 8892 # all our metadata into it, so that it looks identical to the one 8893 # originally set. 8894 members = self.__dict__.get('_members') 8895 if members is not None and name in members: 8896 _copy_metadata_deep(value, members[name]) 8897 8898 # Verify that the new object is good 8899 _assert_valid_deep(value) 8900 8901 return value 8902 8903 # Attribute access must be intercepted to ensure that objects coming from 8904 # read attribute access match those that are set with write attribute access. 8905 # Specifically the metadata, such as the associated apr_pool object, should 8906 # match the originally assigned object. 8907 # 8908 # For classic classes it is enough to use __getattr__ to intercept swig 8909 # derived attributes. However, with new style classes SWIG makes use of 8910 # descriptors which mean that __getattr__ is never called. Therefore, 8911 # __getattribute__ must be used for the interception. 8912 8913 if _newclass: 8914 def __getattribute__(self, name): 8915 """Manage access to all attributes of this object.""" 8916 8917 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 8918 # items directly present in __dict__ 8919 mydict = object.__getattribute__(self, '__dict__') 8920 8921 if name == "__dict__": 8922 return mydict 8923 8924 if name in mydict: 8925 return mydict[name] 8926 8927 object.__getattribute__(self, 'assert_valid')() 8928 8929 value = _get_instance_attr(self, name) 8930 fn = object.__getattribute__(self, '_retrieve_swig_value') 8931 return fn(name, value) 8932 else: 8933 def __getattr__(self, name): 8934 """Get an attribute from this object""" 8935 self.assert_valid() 8936 8937 value = _swig_getattr(self, self.__class__, name) 8938 8939 return self._retrieve_swig_value(name, value) 8940 8941 def __setattr__(self, name, value): 8942 """Set an attribute on this object""" 8943 self.assert_valid() 8944 8945 # Save a copy of the object, so that the garbage 8946 # collector won't kill the object while it's in 8947 # SWIG-land 8948 self.__dict__.setdefault("_members",{})[name] = value 8949 8950 return _set_instance_attr(self, name, value) 8951 8952svn_checksum_ctx_t_swigregister = _core.svn_checksum_ctx_t_swigregister 8953svn_checksum_ctx_t_swigregister(svn_checksum_ctx_t) 8954 8955class svn_cache_config_t(object): 8956 """Proxy of C svn_cache_config_t struct.""" 8957 8958 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 8959 __repr__ = _swig_repr 8960 cache_size = _swig_property(_core.svn_cache_config_t_cache_size_get, _core.svn_cache_config_t_cache_size_set) 8961 file_handle_count = _swig_property(_core.svn_cache_config_t_file_handle_count_get, _core.svn_cache_config_t_file_handle_count_set) 8962 single_threaded = _swig_property(_core.svn_cache_config_t_single_threaded_get, _core.svn_cache_config_t_single_threaded_set) 8963 def set_parent_pool(self, parent_pool=None): 8964 """Create a new proxy object for TYPE""" 8965 import libsvn.core, weakref 8966 self.__dict__["_parent_pool"] = \ 8967 parent_pool or libsvn.core.application_pool; 8968 if self.__dict__["_parent_pool"]: 8969 self.__dict__["_is_valid"] = weakref.ref( 8970 self.__dict__["_parent_pool"]._is_valid) 8971 8972 def assert_valid(self): 8973 """Assert that this object is using valid pool memory""" 8974 if "_is_valid" in self.__dict__: 8975 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 8976 8977 def _retrieve_swig_value(self, name, value): 8978 # If we got back a different object than we have cached, we need to copy 8979 # all our metadata into it, so that it looks identical to the one 8980 # originally set. 8981 members = self.__dict__.get('_members') 8982 if members is not None and name in members: 8983 _copy_metadata_deep(value, members[name]) 8984 8985 # Verify that the new object is good 8986 _assert_valid_deep(value) 8987 8988 return value 8989 8990 # Attribute access must be intercepted to ensure that objects coming from 8991 # read attribute access match those that are set with write attribute access. 8992 # Specifically the metadata, such as the associated apr_pool object, should 8993 # match the originally assigned object. 8994 # 8995 # For classic classes it is enough to use __getattr__ to intercept swig 8996 # derived attributes. However, with new style classes SWIG makes use of 8997 # descriptors which mean that __getattr__ is never called. Therefore, 8998 # __getattribute__ must be used for the interception. 8999 9000 if _newclass: 9001 def __getattribute__(self, name): 9002 """Manage access to all attributes of this object.""" 9003 9004 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 9005 # items directly present in __dict__ 9006 mydict = object.__getattribute__(self, '__dict__') 9007 9008 if name == "__dict__": 9009 return mydict 9010 9011 if name in mydict: 9012 return mydict[name] 9013 9014 object.__getattribute__(self, 'assert_valid')() 9015 9016 value = _get_instance_attr(self, name) 9017 fn = object.__getattribute__(self, '_retrieve_swig_value') 9018 return fn(name, value) 9019 else: 9020 def __getattr__(self, name): 9021 """Get an attribute from this object""" 9022 self.assert_valid() 9023 9024 value = _swig_getattr(self, self.__class__, name) 9025 9026 return self._retrieve_swig_value(name, value) 9027 9028 def __setattr__(self, name, value): 9029 """Set an attribute on this object""" 9030 self.assert_valid() 9031 9032 # Save a copy of the object, so that the garbage 9033 # collector won't kill the object while it's in 9034 # SWIG-land 9035 self.__dict__.setdefault("_members",{})[name] = value 9036 9037 return _set_instance_attr(self, name, value) 9038 9039 9040 def __init__(self): 9041 """__init__(svn_cache_config_t self) -> svn_cache_config_t""" 9042 this = _core.new_svn_cache_config_t() 9043 try: 9044 self.this.append(this) 9045 except __builtin__.Exception: 9046 self.this = this 9047 __swig_destroy__ = _core.delete_svn_cache_config_t 9048 __del__ = lambda self: None 9049svn_cache_config_t_swigregister = _core.svn_cache_config_t_swigregister 9050svn_cache_config_t_swigregister(svn_cache_config_t) 9051 9052 9053def svn_cache_config_get() -> "svn_cache_config_t const *": 9054 """svn_cache_config_get() -> svn_cache_config_t""" 9055 return _core.svn_cache_config_get() 9056 9057def svn_cache_config_set(settings: 'svn_cache_config_t') -> "void": 9058 """svn_cache_config_set(svn_cache_config_t settings)""" 9059 return _core.svn_cache_config_set(settings) 9060 9061def svn_auth_set_gnome_keyring_unlock_prompt_func(ab: 'svn_auth_baton_t *', prompt_func: 'svn_auth_gnome_keyring_unlock_prompt_func_t') -> "void": 9062 """svn_auth_set_gnome_keyring_unlock_prompt_func(svn_auth_baton_t * ab, svn_auth_gnome_keyring_unlock_prompt_func_t prompt_func)""" 9063 return _core.svn_auth_set_gnome_keyring_unlock_prompt_func(ab, prompt_func) 9064 9065def svn_swig_py_set_application_pool(*args) -> "void": 9066 """svn_swig_py_set_application_pool(PyObject * py_pool, apr_pool_t pool)""" 9067 return _core.svn_swig_py_set_application_pool(*args) 9068 9069def svn_swig_py_clear_application_pool() -> "void": 9070 """svn_swig_py_clear_application_pool()""" 9071 return _core.svn_swig_py_clear_application_pool() 9072class apr_array_header_t(object): 9073 """Proxy of C apr_array_header_t struct.""" 9074 9075 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 9076 9077 def __init__(self, *args, **kwargs): 9078 raise AttributeError("No constructor defined") 9079 __repr__ = _swig_repr 9080 def set_parent_pool(self, parent_pool=None): 9081 """Create a new proxy object for TYPE""" 9082 import libsvn.core, weakref 9083 self.__dict__["_parent_pool"] = \ 9084 parent_pool or libsvn.core.application_pool; 9085 if self.__dict__["_parent_pool"]: 9086 self.__dict__["_is_valid"] = weakref.ref( 9087 self.__dict__["_parent_pool"]._is_valid) 9088 9089 def assert_valid(self): 9090 """Assert that this object is using valid pool memory""" 9091 if "_is_valid" in self.__dict__: 9092 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 9093 9094 def _retrieve_swig_value(self, name, value): 9095 # If we got back a different object than we have cached, we need to copy 9096 # all our metadata into it, so that it looks identical to the one 9097 # originally set. 9098 members = self.__dict__.get('_members') 9099 if members is not None and name in members: 9100 _copy_metadata_deep(value, members[name]) 9101 9102 # Verify that the new object is good 9103 _assert_valid_deep(value) 9104 9105 return value 9106 9107 # Attribute access must be intercepted to ensure that objects coming from 9108 # read attribute access match those that are set with write attribute access. 9109 # Specifically the metadata, such as the associated apr_pool object, should 9110 # match the originally assigned object. 9111 # 9112 # For classic classes it is enough to use __getattr__ to intercept swig 9113 # derived attributes. However, with new style classes SWIG makes use of 9114 # descriptors which mean that __getattr__ is never called. Therefore, 9115 # __getattribute__ must be used for the interception. 9116 9117 if _newclass: 9118 def __getattribute__(self, name): 9119 """Manage access to all attributes of this object.""" 9120 9121 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 9122 # items directly present in __dict__ 9123 mydict = object.__getattribute__(self, '__dict__') 9124 9125 if name == "__dict__": 9126 return mydict 9127 9128 if name in mydict: 9129 return mydict[name] 9130 9131 object.__getattribute__(self, 'assert_valid')() 9132 9133 value = _get_instance_attr(self, name) 9134 fn = object.__getattribute__(self, '_retrieve_swig_value') 9135 return fn(name, value) 9136 else: 9137 def __getattr__(self, name): 9138 """Get an attribute from this object""" 9139 self.assert_valid() 9140 9141 value = _swig_getattr(self, self.__class__, name) 9142 9143 return self._retrieve_swig_value(name, value) 9144 9145 def __setattr__(self, name, value): 9146 """Set an attribute on this object""" 9147 self.assert_valid() 9148 9149 # Save a copy of the object, so that the garbage 9150 # collector won't kill the object while it's in 9151 # SWIG-land 9152 self.__dict__.setdefault("_members",{})[name] = value 9153 9154 return _set_instance_attr(self, name, value) 9155 9156apr_array_header_t_swigregister = _core.apr_array_header_t_swigregister 9157apr_array_header_t_swigregister(apr_array_header_t) 9158 9159class apr_file_t(object): 9160 """Proxy of C apr_file_t struct.""" 9161 9162 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 9163 9164 def __init__(self, *args, **kwargs): 9165 raise AttributeError("No constructor defined") 9166 __repr__ = _swig_repr 9167 def set_parent_pool(self, parent_pool=None): 9168 """Create a new proxy object for TYPE""" 9169 import libsvn.core, weakref 9170 self.__dict__["_parent_pool"] = \ 9171 parent_pool or libsvn.core.application_pool; 9172 if self.__dict__["_parent_pool"]: 9173 self.__dict__["_is_valid"] = weakref.ref( 9174 self.__dict__["_parent_pool"]._is_valid) 9175 9176 def assert_valid(self): 9177 """Assert that this object is using valid pool memory""" 9178 if "_is_valid" in self.__dict__: 9179 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 9180 9181 def _retrieve_swig_value(self, name, value): 9182 # If we got back a different object than we have cached, we need to copy 9183 # all our metadata into it, so that it looks identical to the one 9184 # originally set. 9185 members = self.__dict__.get('_members') 9186 if members is not None and name in members: 9187 _copy_metadata_deep(value, members[name]) 9188 9189 # Verify that the new object is good 9190 _assert_valid_deep(value) 9191 9192 return value 9193 9194 # Attribute access must be intercepted to ensure that objects coming from 9195 # read attribute access match those that are set with write attribute access. 9196 # Specifically the metadata, such as the associated apr_pool object, should 9197 # match the originally assigned object. 9198 # 9199 # For classic classes it is enough to use __getattr__ to intercept swig 9200 # derived attributes. However, with new style classes SWIG makes use of 9201 # descriptors which mean that __getattr__ is never called. Therefore, 9202 # __getattribute__ must be used for the interception. 9203 9204 if _newclass: 9205 def __getattribute__(self, name): 9206 """Manage access to all attributes of this object.""" 9207 9208 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 9209 # items directly present in __dict__ 9210 mydict = object.__getattribute__(self, '__dict__') 9211 9212 if name == "__dict__": 9213 return mydict 9214 9215 if name in mydict: 9216 return mydict[name] 9217 9218 object.__getattribute__(self, 'assert_valid')() 9219 9220 value = _get_instance_attr(self, name) 9221 fn = object.__getattribute__(self, '_retrieve_swig_value') 9222 return fn(name, value) 9223 else: 9224 def __getattr__(self, name): 9225 """Get an attribute from this object""" 9226 self.assert_valid() 9227 9228 value = _swig_getattr(self, self.__class__, name) 9229 9230 return self._retrieve_swig_value(name, value) 9231 9232 def __setattr__(self, name, value): 9233 """Set an attribute on this object""" 9234 self.assert_valid() 9235 9236 # Save a copy of the object, so that the garbage 9237 # collector won't kill the object while it's in 9238 # SWIG-land 9239 self.__dict__.setdefault("_members",{})[name] = value 9240 9241 return _set_instance_attr(self, name, value) 9242 9243apr_file_t_swigregister = _core.apr_file_t_swigregister 9244apr_file_t_swigregister(apr_file_t) 9245 9246class apr_hash_t(object): 9247 """Proxy of C apr_hash_t struct.""" 9248 9249 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 9250 9251 def __init__(self, *args, **kwargs): 9252 raise AttributeError("No constructor defined") 9253 __repr__ = _swig_repr 9254 def set_parent_pool(self, parent_pool=None): 9255 """Create a new proxy object for TYPE""" 9256 import libsvn.core, weakref 9257 self.__dict__["_parent_pool"] = \ 9258 parent_pool or libsvn.core.application_pool; 9259 if self.__dict__["_parent_pool"]: 9260 self.__dict__["_is_valid"] = weakref.ref( 9261 self.__dict__["_parent_pool"]._is_valid) 9262 9263 def assert_valid(self): 9264 """Assert that this object is using valid pool memory""" 9265 if "_is_valid" in self.__dict__: 9266 assert self.__dict__["_is_valid"](), "Variable has already been deleted" 9267 9268 def _retrieve_swig_value(self, name, value): 9269 # If we got back a different object than we have cached, we need to copy 9270 # all our metadata into it, so that it looks identical to the one 9271 # originally set. 9272 members = self.__dict__.get('_members') 9273 if members is not None and name in members: 9274 _copy_metadata_deep(value, members[name]) 9275 9276 # Verify that the new object is good 9277 _assert_valid_deep(value) 9278 9279 return value 9280 9281 # Attribute access must be intercepted to ensure that objects coming from 9282 # read attribute access match those that are set with write attribute access. 9283 # Specifically the metadata, such as the associated apr_pool object, should 9284 # match the originally assigned object. 9285 # 9286 # For classic classes it is enough to use __getattr__ to intercept swig 9287 # derived attributes. However, with new style classes SWIG makes use of 9288 # descriptors which mean that __getattr__ is never called. Therefore, 9289 # __getattribute__ must be used for the interception. 9290 9291 if _newclass: 9292 def __getattribute__(self, name): 9293 """Manage access to all attributes of this object.""" 9294 9295 # Start by mimicing __getattr__ behavior: immediately return __dict__ or 9296 # items directly present in __dict__ 9297 mydict = object.__getattribute__(self, '__dict__') 9298 9299 if name == "__dict__": 9300 return mydict 9301 9302 if name in mydict: 9303 return mydict[name] 9304 9305 object.__getattribute__(self, 'assert_valid')() 9306 9307 value = _get_instance_attr(self, name) 9308 fn = object.__getattribute__(self, '_retrieve_swig_value') 9309 return fn(name, value) 9310 else: 9311 def __getattr__(self, name): 9312 """Get an attribute from this object""" 9313 self.assert_valid() 9314 9315 value = _swig_getattr(self, self.__class__, name) 9316 9317 return self._retrieve_swig_value(name, value) 9318 9319 def __setattr__(self, name, value): 9320 """Set an attribute on this object""" 9321 self.assert_valid() 9322 9323 # Save a copy of the object, so that the garbage 9324 # collector won't kill the object while it's in 9325 # SWIG-land 9326 self.__dict__.setdefault("_members",{})[name] = value 9327 9328 return _set_instance_attr(self, name, value) 9329 9330apr_hash_t_swigregister = _core.apr_hash_t_swigregister 9331apr_hash_t_swigregister(apr_hash_t) 9332 9333 9334import threading 9335 9336application_pool = None 9337application_pool_lock = threading.Lock() 9338class GenericSWIGWrapper: 9339 def __init__(self, this, pool): 9340 """Create new Generic SWIG wrapper object""" 9341 import weakref 9342 self.this = this 9343 self._parent_pool = pool 9344 self._is_valid = weakref.ref(pool._is_valid) 9345 9346 def set_parent_pool(self, pool): 9347 """Set the parent pool of this object""" 9348 self._parent_pool = pool 9349 self._is_valid = weakref.ref(pool._is_valid) 9350 9351 def valid(self): 9352 """Is this object valid?""" 9353 return self._is_valid() 9354 9355 def assert_valid(self): 9356 """Assert that this object is still valid""" 9357 assert self.valid(), "This object has already been destroyed" 9358 9359 def _unwrap(self): 9360 """Return underlying SWIG object""" 9361 self.assert_valid() 9362 return self.this 9363 9364def _mark_weakpool_invalid(weakpool): 9365 if weakpool: 9366 pool = weakpool() 9367 if pool: 9368 try: 9369 del pool._is_valid 9370 except AttributeError: 9371 pass 9372 9373 9374 9375class apr_pool_t(object): 9376 """Proxy of C apr_pool_t struct.""" 9377 9378 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') 9379 9380 def __init__(self, *args, **kwargs): 9381 raise AttributeError("No constructor defined") 9382 __repr__ = _swig_repr 9383 9384 def set_parent_pool(self, parent_pool=None): 9385 """Create a new memory pool""" 9386 global application_pool 9387 9388 try: 9389 application_pool_lock.acquire() 9390 9391 self._parent_pool = parent_pool or application_pool 9392 self._mark_valid() 9393 9394 # Protect important functions from GC 9395 self._apr_pool_destroy = _core.apr_pool_destroy 9396 self._svn_swig_py_clear_application_pool = \ 9397 _core.svn_swig_py_clear_application_pool 9398 9399 # If we are an application-level pool, 9400 # then set this pool to be the application-level pool 9401 if not self._parent_pool: 9402 svn_swig_py_set_application_pool(self, self) 9403 application_pool = self 9404 finally: 9405 application_pool_lock.release() 9406 9407 def valid(self): 9408 """Check whether this memory pool and its parents 9409 are still valid""" 9410 try: 9411 self._is_valid 9412 return True 9413 except AttributeError: 9414 return False 9415 9416 def assert_valid(self): 9417 """Assert that this memory_pool is still valid.""" 9418 assert self.valid(), "This pool has already been destroyed" 9419 9420 def clear(self): 9421 """Clear embedded memory pool. Invalidate all subpools.""" 9422 pool = self._parent_pool 9423 apr_pool_clear(self) 9424 self.set_parent_pool(pool) 9425 9426 def destroy(self): 9427 """Destroy embedded memory pool. If you do not destroy 9428 the memory pool manually, Python will destroy it 9429 automatically.""" 9430 global application_pool 9431 9432 self.assert_valid() 9433 9434 is_application_pool = not self._parent_pool 9435 9436 # Destroy pool 9437 self._apr_pool_destroy(self) 9438 9439 # Clear application pool if necessary 9440 if is_application_pool: 9441 application_pool = None 9442 self._svn_swig_py_clear_application_pool() 9443 9444 # Mark self as invalid 9445 try: 9446 del self._parent_pool 9447 except AttributeError: 9448 pass 9449 9450 try: 9451 del self._is_valid 9452 except AttributeError: 9453 pass 9454 9455 def __del__(self): 9456 """Automatically destroy memory pools, if necessary""" 9457 if self.valid(): 9458 self.destroy() 9459 9460 def _mark_valid(self): 9461 """Mark pool as valid""" 9462 9463 self._weakparent = None 9464 9465 if self._parent_pool: 9466 import weakref 9467 9468 # Make sure that the parent object is valid 9469 self._parent_pool.assert_valid() 9470 9471 # Refer to self using a weakreference so that we don't 9472 # create a reference cycle 9473 weakself = weakref.ref(self) 9474 9475 # Set up callbacks to mark pool as invalid when parents 9476 # are destroyed 9477 self._weakparent = weakref.ref(self._parent_pool._is_valid, 9478 lambda x: _mark_weakpool_invalid(weakself)) 9479 9480 # Mark pool as valid 9481 self._is_valid = lambda: 1 9482 9483 def _wrap(self, obj): 9484 """Mark a SWIG object as owned by this pool""" 9485 self.assert_valid() 9486 9487 fn = getattr(obj, 'set_parent_pool', None) 9488 9489 if fn is not None: 9490 fn(self) 9491 return obj 9492 elif obj is None: 9493 return None 9494 else: 9495 return GenericSWIGWrapper(obj, self) 9496 9497 9498apr_pool_t_swigregister = _core.apr_pool_t_swigregister 9499apr_pool_t_swigregister(apr_pool_t) 9500 9501 9502# Initialize a global pool 9503svn_pool_create() 9504 9505 9506def svn_swig_mergeinfo_merge(*args) -> "apr_hash_t **": 9507 """svn_swig_mergeinfo_merge(apr_hash_t ** mergeinfo_inout, apr_hash_t changes, apr_pool_t pool) -> svn_error_t""" 9508 return _core.svn_swig_mergeinfo_merge(*args) 9509 9510def svn_swig_mergeinfo_sort(*args) -> "apr_hash_t **": 9511 """svn_swig_mergeinfo_sort(apr_hash_t ** mergeinfo_inout, apr_pool_t pool) -> svn_error_t""" 9512 return _core.svn_swig_mergeinfo_sort(*args) 9513 9514def svn_swig_rangelist_merge(*args) -> "svn_rangelist_t **": 9515 """svn_swig_rangelist_merge(svn_rangelist_t ** rangelist_inout, apr_array_header_t changes, apr_pool_t pool) -> svn_error_t""" 9516 return _core.svn_swig_rangelist_merge(*args) 9517 9518def svn_swig_rangelist_reverse(*args) -> "svn_rangelist_t **": 9519 """svn_swig_rangelist_reverse(svn_rangelist_t ** rangelist_inout, apr_pool_t pool) -> svn_error_t""" 9520 return _core.svn_swig_rangelist_reverse(*args) 9521 9522 9523