FileManager holds and manipulates the file manager process on routers and switches.
More...
FileManager holds and manipulates the file manager process on routers and switches.
◆ getDirectory()
Directory FileManager::getDirectory |
( |
string |
, |
|
|
bool |
|
|
) |
| |
Returns the Directory given the path and check permission.
- Parameters
-
absPath,the | absolute path to directory. |
bCheckPermission,true | if check permission of directory, false otherwise. |
- Returns
- Directory, the directory of given path.
◆ getFile()
File FileManager::getFile |
( |
string |
, |
|
|
bool |
|
|
) |
| |
Returns the File given the path and check permission.
- Parameters
-
absPath,the | absolute path to File. |
bCheckPermission,true | if check permission of file, false otherwise. |
- Returns
- File, the File of given path.
◆ getFileSystem()
Returns the file system with the specified name.
- Parameters
-
name,the | name of the file system. File systems: flash:, nvram: |
- Returns
- FileSystem, the FileSystem object with the specified name.
The documentation for this class was generated from the following file: