9
Util.set_constants(Ext::Core, self)
10
Util.set_methods(Ext::Core, self)
13
at_exit {Svn::Core.apr_terminate}
17
alias pool_destroy apr_pool_destroy
18
alias pool_clear apr_pool_clear
19
alias binary_mime_type? mime_type_is_binary
23
AuthCredSSLClientCert = AuthCredSslClientCert
24
AuthCredSSLClientCertPw = AuthCredSslClientCertPw
25
AuthCredSSLServerTrust = AuthCredSslServerTrust
28
Pool = SWIG::TYPE_p_apr_pool_t
33
pool = Core.pool_create(parent)
49
Core.pool_destroy(self)
54
Stream = SWIG::TYPE_p_svn_stream_t
57
CHUNK_SIZE = Core::STREAM_CHUNK_SIZE
62
Core.stream_close(self, @pool)
70
while len > CHUNK_SIZE
71
buf << _read(CHUNK_SIZE)
80
Core.stream_close(self, @pool)
84
Core.stream_copy(self, other, @pool)
89
Core.stream_read(self, size, @pool)
94
while chunk = _read(CHUNK_SIZE)
102
AuthBaton = SWIG::TYPE_p_svn_auth_baton_t
105
def open(providers, pool)
106
Core.auth_open(providers, pool)
112
class AuthProviderObject
119
Diff = SWIG::TYPE_p_svn_diff_t
122
attr_accessor :original, :modified
125
def file_diff(original, modified, pool)
126
Util.set_pool(pool) do
127
diff = Core.diff_file_diff(original, modified, pool)
129
diff.original = original
130
diff.modified = modified
137
def unified(orig_label, mod_label)
138
output = StringIO.new
140
output, self, @original, @modified,
141
orig_label, mod_label, @pool
143
Core.diff_file_output_unified(*args)
149
Core.diff_contains_conflicts(self)
153
Core.diff_contains_diffs(self)