Infinityd.FilesystemAccountStorage¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The filesystem storage which to use the store the accounts file |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Infinityd.FilesystemAccountStorage(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Infinityd.FilesystemAccountStorage
is an opaque data type. You should only access it via the public API functions.- classmethod new()¶
- Returns:
- Return type:
Creates a new
Infinityd.FilesystemAccountStorage
that stores its account list as a file in the filesystem. UseInfinityd.FilesystemAccountStorage.set_filesystem
() to set the underlyingInfinityd.FilesystemStorage
object.
- set_filesystem(fs)¶
- Parameters:
fs (
Infinityd.FilesystemStorage
) – The underlyingInfinityd.FilesystemStorage
to use.- Raises:
- Returns:
- Return type:
Uses fs as the underlying
Infinityd.FilesystemStorage
for self. TheInfinityd.FilesystemStorage
:root-directory
property specifies where the account list is stored.If an error occurs while loading the account list, the function returns
False
and error is set.
Property Details¶
- Infinityd.FilesystemAccountStorage.props.filesystem_storage¶
- Name:
filesystem-storage
- Type:
- Default Value:
- Flags:
The filesystem storage which to use the store the accounts file