Package prlsdkapi :: Class FsInfo
[ hide private ]
[ frames ] | no frames ]

Class FsInfo

object --+    
         |    
   _Handle --+
             |
            FsInfo

Contains information about a file system entry and its immediate child elements (files and directories) on the host computer.

Instance Methods [ hide private ]
get_type ( self )
Determine the basic type of the file system entry.
get_fs_type ( self )
Determine the file system type of the file system entry.
get_child_entries_count ( self )
Determine the number of child entries for the specified remote file system entry.
get_child_entry ( self , nIndex )
Obtain the FsEntry object containing a child entry information.
get_parent_entry ( self )
Obtain the FsEntry object containing the parent file system entry info.

Inherited from _Handle : __del__ , __init__ , add_ref , free , from_string , get_handle_type , get_package_id

Inherited from object : __delattr__ , __format__ , __getattribute__ , __hash__ , __new__ , __reduce__ , __reduce_ex__ , __repr__ , __setattr__ , __sizeof__ , __str__ , __subclasshook__

Properties [ hide private ]

Inherited from object : __class__

Method Details [ hide private ]

get_type ( self )

Determine the basic type of the file system entry.

Returns:
The file system type. Can be PFS_WINDOWS_LIKE_FS , PFS_UNIX_LIKE_FS .
Overrides: _Handle.get_type

get_fs_type ( self )

Determine the file system type of the file system entry.

Returns:
A Boolean value. True - log level is configured.

get_child_entries_count ( self )

Determine the number of child entries for the specified remote file system entry.

Returns:
Integer. The number of child entries.

get_child_entry ( self , nIndex )

Obtain the FsEntry object containing a child entry information.

Parameters:
  • nIndex - Integer. The index of the child entry to get the information for.
Returns:
The FsEntry object containing the child entry information.