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