Search bar offers the following options:
Term presence. The below example searches for documents that
must contain “foo”, might contain “bar” and must not contain “baz”:
+foo bar -baz
Wildcards. The below example searches for documents with words beginning with “foo”:
Search in specific fields. The following search matches all objects
in "twisted.mail" that matches “search”:
Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.
Fuzzy matches. The following search matches all documents
that have a word within 1 edit distance of “foo”:
Results provided by Lunr.js
class ISFTPFile(Interface): (source)
This represents an open file on the server. An object adhering to this interface should be returned from
||Close the file.|
||Return the attributes for the file.|
||Read from the file.|
||Set the attributes for the file.|
||Write to the file.|
Close the file.
This method returns nothing if the close succeeds immediately, or a Deferred that is called back when the close succeeds.
Read from the file.
If EOF is reached before any data is read, raise EOFError.
This method returns the data as a string, or a Deferred that is called back with same.
|offset||an integer that is the index to start from in the file.|
|length||the maximum length of data to return. The actual amount returned may less than this. For normal disk files, however, this should read the requested number (up to the end of the file).|
Set the attributes for the file.
This method returns when the attributes are set or a Deferred that is called back when they are.
|attrs||a dictionary in the same format as the attrs argument to |