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

Class FSInfo

  object --+        
           |        
 prlsdk.Base --+    
               |    
prlsdk.BaseAsync --+
                   |
                  FSInfo

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

Instance Methods [hide private]
 
get_entry(self, index)
Return an FSEntry object containing information about a child file system element specified by index.

Inherited from prlsdk.BaseAsync: __cmp__, __init__, __new__, __repr__, cancel, wait

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]
  __prefix__ = 'fs_info'
  __ht__ = 268435459
Properties [hide private]
  type
SDK.fs_info__get_type(FSInfo) -> int
  entries_count
The number of child entries.
  parent_entry
An instance of FSEntry containing information about this file system entry.
  entries
An iterator/sequence that allows to traverse through child files system entries.

Inherited from prlsdk.BaseAsync: __expected_h_type__, __job__, finished, handle_type

Inherited from prlsdk.Base: __handle__

Inherited from object: __class__

Method Details [hide private]

get_entry(self, index)

 

Return an FSEntry object containing information about a child file system element specified by index.

Parameters:
  • index - The index of the child entry in the container (beginning with 0). The total number of child entries can be determined by examining the FSInfo.entries_count property.
Returns:
An FSEntry object containing the child entry information.

Property Details [hide private]

type

SDK.fs_info__get_type(FSInfo) -> int

Returns remote file system basic type: Windows or Unix like FS.

Get Method:
unreachable.fs_info__get_type(SDK, FSInfo) - Returns remote file system basic type: Windows or Unix like FS.

entries_count

The number of child entries.

Get Method:
unreachable.fs_info__get_entries_count(SDK, FSInfo) - Returns child FS entries count storing at remote FS info object.

parent_entry

An instance of FSEntry containing information about this file system entry.

Get Method:
unreachable.fs_info__get_parent_entry(SDK, FSInfo) - Returns parent FS entry (above FS level) object.

entries

An iterator/sequence that allows to traverse through child files system entries. Each child entry is an instance of FSEntry.

Get Method:
unreachable(s)