GitSharp.Core.Util.Inspector.ContentStream C# (CSharp) Method

ContentStream() private static method

private static ContentStream ( string filename, ObjectId id ) : Stream
filename string
id ObjectId
return System.IO.Stream
        private static Stream ContentStream(string filename, ObjectId id)
        {
            return new MemoryStream(new UnpackedObjectLoader(new FileInfo(filename), id).Bytes);
        }

Same methods

Inspector::ContentStream ( ObjectId id ) : Stream
Inspector::ContentStream ( string path, string id ) : Stream