Foundry.DirectoryReaper¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
The “remove-file” signal is emitted for each file that is removed by the |
Fields¶
- Inherited:
Class Details¶
- class Foundry.DirectoryReaper(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Simplified interface for deleting files or directories recursively.
- classmethod new()¶
- Return type:
- execute()¶
- Returns:
a
Dex.Futurethat resolves to a boolean.- Return type:
- execute_async(cancellable, callback, *user_data)¶
- Parameters:
cancellable (
Gio.CancellableorNone) –callback (
Gio.AsyncReadyCallbackorNone) –
- execute_finish(result)¶
- Parameters:
result (
Gio.AsyncResult) –- Raises:
- Return type:
- execute_sync(cancellable)¶
- Parameters:
cancellable (
Gio.CancellableorNone) –- Raises:
- Return type:
Signal Details¶
- Foundry.DirectoryReaper.signals.remove_file(directory_reaper, file)¶
- Signal Name:
remove-file- Flags:
- Parameters:
directory_reaper (
Foundry.DirectoryReaper) – The object which received the signal
The “remove-file” signal is emitted for each file that is removed by the
Foundry.DirectoryReaperinstance. This may be useful if you want to show the user what was processed by the reaper.