Logicalfile management functions.
Retrieve LMIInstance of a directory.
| Parameters: | directory (string) – Full path to the directory. |
|---|---|
| Return type: | LMIInstance |
Retrieve object path of a directory.
| Parameters: | directory (string) – Full path to the directory. |
|---|---|
| Return type: | LMIInstanceName |
Retrieve file identification.
| Parameters: | file_instance (LMIInstance) – The file’s instance object. |
|---|---|
| Return type: | string |
Create a directory.
The parent directory must exist.
| Parameters: | directory (string) – Full path to the directory. |
|---|
Delete a directory.
The directory must be empty.
| Parameters: | directory (string) – Full path to the directory. |
|---|
List all files in a directory.
If depth is positive, directory is walked recursively up to the given depth.
| Parameters: |
|
|---|
Show detailed information about the target.
Target can be either a file or a directory.
| Parameters: | target (string) – Full path to the target. |
|---|
Retrieve all files in a directory.
If depth is positive, directory is walked recursively up to the given depth. Files and directories are yielded as they are encountered. This function does not return, it is a generator.
| Parameters: |
|
|---|