| JumboFileFromFileInfo Method |
Namespace:
Ookii.Jumbo.Dfs.FileSystem
Assembly:
Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
Syntax public static JumboFile FromFileInfo(
FileInfo file,
string rootPath
)
Public Shared Function FromFileInfo (
file As FileInfo,
rootPath As String
) As JumboFile
public:
static JumboFile^ FromFileInfo(
FileInfo^ file,
String^ rootPath
)
static member FromFileInfo :
file : FileInfo *
rootPath : string -> JumboFile
Parameters
- file
- Type: System.IOFileInfo
The FileInfo. - rootPath
- Type: SystemString
The root path of the file system.
Return Value
Type:
JumboFile
A
JumboFile instance for the local file.
See Also