Robot Framework SSH Library
SSHLibrary.abstractclient.SFTPFileInfo Class Reference

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
 

Detailed Description

Wrapper class for the language specific file information objects.

Returned by the concrete SFTP client implementations.

Definition at line 1369 of file abstractclient.py.

Constructor & Destructor Documentation

◆ __init__()

def SSHLibrary.abstractclient.SFTPFileInfo.__init__ (   self,
  name,
  mode 
)

Definition at line 1371 of file abstractclient.py.

Member Function Documentation

◆ is_directory()

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.

◆ is_link()

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.

◆ is_regular()

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.

Member Data Documentation

◆ mode

SSHLibrary.abstractclient.SFTPFileInfo.mode

Definition at line 1373 of file abstractclient.py.

◆ name

SSHLibrary.abstractclient.SFTPFileInfo.name

Definition at line 1372 of file abstractclient.py.


The documentation for this class was generated from the following file: