Search code examples
sharpsvn

SharpSVN - Is there a way to get a current working copy directly to a memory stream?


I am using the latest version of SharpSVN. I would like to retrieve the latest working copy of a repository, but I would like to load it into a memory stream instead of saving it to disk. Is there a way to do this?

Thanks.


Solution

  • I assume you want one file in memory? (It is hard to stream directories in a memoryStream).

    But with SvnClient.Write() you can just copy a Subversion url to a stream.