protected static void InternalCat(SvnStream stream, IAprUnmanaged pathOrUrl, SvnOptRevision revision, SvnClientContext ctx, AprPool pool) { Debug.WriteLine(String.Format("svn_client_cat({0},{1},{2},{3},{4})", stream, pathOrUrl, revision, ctx, pool)); SvnError err = Svn.svn_client_cat(stream, pathOrUrl.ToIntPtr(), revision, ctx, pool); if (!err.IsNoError) { throw new SvnException(err); } }
public static void Cat(SvnStream stream, SvnUrl pathOrUrl, SvnOptRevision revision, SvnClientContext ctx, AprPool pool) { InternalCat(stream, pathOrUrl, revision, ctx, pool); }
protected static void InternalCat(SvnStream stream, IAprUnmanaged pathOrUrl, SvnOptRevision revision, SvnClientContext ctx, AprPool pool) { Debug.WriteLine(String.Format("svn_client_cat({0},{1},{2},{3},{4})",stream,pathOrUrl,revision,ctx,pool)); SvnError err = Svn.svn_client_cat(stream, pathOrUrl.ToIntPtr(), revision, ctx, pool); if( !err.IsNoError ) throw new SvnException(err); }
// svn_read_fn_t Wrapper public SvnDelegate(SvnStream.ReadFunc func) { mFunc = func; mWrapperFunc = new Svn.svn_read_fn_t(SvnStreamReadWrapper); }
public static SvnStream Compress(SvnStream stream, AprPool pool) { return(new SvnStream(Svn.svn_stream_compressed(stream,pool))); }
// svn_write_fn_t Wrapper public SvnDelegate(SvnStream.WriteFunc func) { mFunc = func; mWrapperFunc = new Svn.svn_write_fn_t(SvnStreamWriteWrapper); }
// svn_close_fn_t Wrapper public SvnDelegate(SvnStream.CloseFunc func) { mFunc = func; mWrapperFunc = new Svn.svn_close_fn_t(SvnStreamCloseWrapper); }
public static SvnStream Compress(SvnStream stream, AprPool pool) { return(new SvnStream(Svn.svn_stream_compressed(stream, pool))); }
public void Cat(SvnStream stream, string pathOrUrl, SvnRevision revision) { InternalCat(stream, PathOrUrl(pathOrUrl), revision.ToSvnOpt(mPool), mContext, mPool); }
public void Cat(SvnStream stream, SvnUrl pathOrUrl, SvnRevision revision) { Cat(stream, pathOrUrl, revision.ToSvnOpt(mPool), mContext, mPool); }