C# Class RavenFS.Studio.Models.VirtualFoldersManager

Manages a list of folders which the user has created in the client, but which do not yet exist on the server
显示文件 Open project: hibernating-rhinos/RavenFS Class Usage Examples

Public Methods

Method Description
Add ( string path ) : void
GetSubFolders ( string path ) : IList

Gets the

PruneFoldersThatNowExist ( IList realFolders ) : void
VirtualFoldersManager ( ) : System

Private Methods

Method Description
FolderIsSubPath ( string parentPath, string folderPath ) : bool
GetImmediateSubFolderPath ( string fullPath, string parentPath ) : string
RealFolderHasSamePathAsVirtualFolder ( IList realFolders, DirectoryModel f ) : bool

Method Details

Add() public method

public Add ( string path ) : void
path string
return void

GetSubFolders() public method

Gets the
public GetSubFolders ( string path ) : IList
path string
return IList

PruneFoldersThatNowExist() public method

public PruneFoldersThatNowExist ( IList realFolders ) : void
realFolders IList
return void

VirtualFoldersManager() public method

public VirtualFoldersManager ( ) : System
return System