C# Class Bracket.Hosting.VirtualFileUtils

Mostra file Open project: PlasticLizard/Bracket

Public Methods

Method Description
CopyStream ( Stream input, Stream output ) : void
GetRoot ( string path ) : string
IsTopLevel ( string path ) : bool
NormalizePath ( string path ) : string
ToMemoryStream ( this input ) : MemoryStream
ZipFileAtRoot ( string path ) : string

Method Details

CopyStream() public static method

public static CopyStream ( Stream input, Stream output ) : void
input Stream
output Stream
return void

GetRoot() public static method

public static GetRoot ( string path ) : string
path string
return string

IsTopLevel() public static method

public static IsTopLevel ( string path ) : bool
path string
return bool

NormalizePath() public static method

public static NormalizePath ( string path ) : string
path string
return string

ToMemoryStream() public static method

public static ToMemoryStream ( this input ) : MemoryStream
input this
return System.IO.MemoryStream

ZipFileAtRoot() public static method

public static ZipFileAtRoot ( string path ) : string
path string
return string