Click or drag to resize

JumboFileFromFileInfo Method

Creates a JumboFile instance for a local file from the specified FileInfo.

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
)

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