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);
        }
        public static void Cat(SvnStream stream, SvnUrl pathOrUrl,
							   SvnOptRevision revision, 
							   SvnClientContext ctx, AprPool pool)
        {
            InternalCat(stream, pathOrUrl, revision, ctx, pool);
        }
Beispiel #5
0
 // svn_read_fn_t Wrapper
 public SvnDelegate(SvnStream.ReadFunc func)
 {
     mFunc = func;
     mWrapperFunc = new Svn.svn_read_fn_t(SvnStreamReadWrapper);
 }
Beispiel #6
0
 public static SvnStream Compress(SvnStream stream, AprPool pool)
 {
     return(new SvnStream(Svn.svn_stream_compressed(stream,pool)));
 }
Beispiel #7
0
 // svn_write_fn_t Wrapper
 public SvnDelegate(SvnStream.WriteFunc func)
 {
     mFunc = func;
     mWrapperFunc = new Svn.svn_write_fn_t(SvnStreamWriteWrapper);
 }
Beispiel #8
0
 // svn_close_fn_t Wrapper
 public SvnDelegate(SvnStream.CloseFunc func)
 {
     mFunc = func;
     mWrapperFunc = new Svn.svn_close_fn_t(SvnStreamCloseWrapper);
 }
Beispiel #9
0
 public static SvnStream Compress(SvnStream stream, AprPool pool)
 {
     return(new SvnStream(Svn.svn_stream_compressed(stream, pool)));
 }
Beispiel #10
0
 public void Cat(SvnStream stream, string pathOrUrl, SvnRevision revision)
 {
     InternalCat(stream, PathOrUrl(pathOrUrl), revision.ToSvnOpt(mPool), mContext, mPool);
 }
Beispiel #11
0
 public void Cat(SvnStream stream, SvnUrl pathOrUrl, SvnRevision revision)
 {
     Cat(stream, pathOrUrl, revision.ToSvnOpt(mPool), mContext, mPool);
 }
Beispiel #12
0
 public void Cat(SvnStream stream, string pathOrUrl, SvnRevision revision)
 {
     InternalCat(stream, PathOrUrl(pathOrUrl), revision.ToSvnOpt(mPool), mContext, mPool);
 }
Beispiel #13
0
 public void Cat(SvnStream stream, SvnUrl pathOrUrl, SvnRevision revision)
 {
     Cat(stream, pathOrUrl, revision.ToSvnOpt(mPool), mContext, mPool);
 }