Wrapper class for the language specific file information objects. More...
Public Member Functions | |
| def | __init__ (self, name, mode) |
| def | is_regular (self) |
| Checks if this file is a regular file. More... | |
| def | is_directory (self) |
| Checks if this file is a directory. More... | |
| def | is_link (self) |
| Checks if this file is a symbolic link. More... | |
Public Attributes | |
| name | |
| mode | |
Wrapper class for the language specific file information objects.
Returned by the concrete SFTP client implementations.
Definition at line 1369 of file abstractclient.py.
| def SSHLibrary.abstractclient.SFTPFileInfo.__init__ | ( | self, | |
| name, | |||
| mode | |||
| ) |
Definition at line 1371 of file abstractclient.py.
| def SSHLibrary.abstractclient.SFTPFileInfo.is_directory | ( | self | ) |
Checks if this file is a directory.
:returns: `True`, if the file is a regular file. False otherwise.
Definition at line 1386 of file abstractclient.py.
| def SSHLibrary.abstractclient.SFTPFileInfo.is_link | ( | self | ) |
Checks if this file is a symbolic link.
:returns: `True`, if the file is a symlink file. False otherwise.
Definition at line 1393 of file abstractclient.py.
| def SSHLibrary.abstractclient.SFTPFileInfo.is_regular | ( | self | ) |
Checks if this file is a regular file.
:returns: `True`, if the file is a regular file. False otherwise.
Definition at line 1379 of file abstractclient.py.
| SSHLibrary.abstractclient.SFTPFileInfo.mode |
Definition at line 1373 of file abstractclient.py.
| SSHLibrary.abstractclient.SFTPFileInfo.name |
Definition at line 1372 of file abstractclient.py.