Public Member Functions | |
| RsyncSpaceCheckTask () | |
| override void | prepare () |
| override void | parse_stdout_line (string out_line) |
| override void | parse_stderr_line (string err_line) |
| bool | update_progress_parse_console_output (string line) |
| Public Member Functions inherited from AsyncTask | |
| signal void | stdout_line_read (string line) |
| signal void | stderr_line_read (string line) |
| signal void | task_complete () |
| void | write_stdin (string line) |
| virtual void | execute () |
| bool | is_running () |
| void | stop (AppStatus status_to_update=AppStatus.CANCELLED) |
| void | pause (AppStatus status_to_update=AppStatus.PAUSED) |
| void | resume (AppStatus status_to_update=AppStatus.RUNNING) |
| void | print_app_status () |
Public Attributes | |
| bool | delete_extra = true |
| bool | delete_after = false |
| bool | delete_excluded = false |
| bool | relative = false |
| string | exclude_from_file = "" |
| string | link_from_path = "" |
| string | source_path = "" |
| string | dest_path = "" |
| bool | verbose = true |
| bool | io_nice = true |
| bool | dry_run = false |
| int64 | status_line_count = 0 |
| int64 | total_size = 0 |
| Public Attributes inherited from AsyncTask | |
| AppStatus | status = AppStatus.NOT_STARTED |
| GLib.Mutex | status_line_mutex |
| int | exit_code = 0 |
| GLib.Timer | timer |
| double | progress = 0.0 |
| double | percent = 0.0 |
| int64 | prg_count = 0 |
| int64 | prg_count_total = 0 |
Protected Member Functions | |
| override string | build_script () |
| Protected Member Functions inherited from AsyncTask | |
| AsyncTask () | |
| string | build_script () |
| virtual bool | begin () |
| void | parse_stdout_line (string out_line) |
| void | parse_stderr_line (string err_line) |
| virtual void | finish_task () |
| int | read_exit_code () |
Private Member Functions | |
| void | init_regular_expressions () |
Private Attributes | |
| Regex | sent_bytes_regex |
Additional Inherited Members | |
| Protected Attributes inherited from AsyncTask | |
| DataOutputStream | dos_log = null |
| Pid | child_pid = 0 |
| string | script_file = "" |
| string | working_dir = "" |
| Properties inherited from AsyncTask | |
| string | status_line [get, set] |
| double | elapsed [get] |
| string | stat_time_elapsed [get] |
| string??? | stat_time_remaining [get] |
Definition at line 31 of file RsyncSpaceCheckTask.vala.
|
inline |
Definition at line 54 of file RsyncSpaceCheckTask.vala.
References init_regular_expressions().
Referenced by Main.get_space_needed_for_rsync_snapshot().
|
inlineprotected |
Definition at line 78 of file RsyncSpaceCheckTask.vala.
References delete_after, delete_excluded, delete_extra, dest_path, TeeJee.FileSystem.escape_single_quote(), exclude_from_file, link_from_path, TeeJee.FileSystem.remove_trailing_slash(), source_path, and verbose.
|
inlineprivate |
Definition at line 58 of file RsyncSpaceCheckTask.vala.
References Error, TeeJee.Logging.log_error(), and sent_bytes_regex.
Referenced by RsyncSpaceCheckTask().
|
inline |
Definition at line 145 of file RsyncSpaceCheckTask.vala.
References AsyncTask.err_line, and update_progress_parse_console_output().
|
inline |
Definition at line 141 of file RsyncSpaceCheckTask.vala.
References AsyncTask.out_line, and update_progress_parse_console_output().
|
inlinevirtual |
Reimplemented from AsyncTask.
Definition at line 71 of file RsyncSpaceCheckTask.vala.
References status_line_count, and total_size.
|
inline |
Definition at line 149 of file RsyncSpaceCheckTask.vala.
References AsyncTask.prg_count, AsyncTask.prg_count_total, AsyncTask.progress, sent_bytes_regex, status_line_count, and total_size.
Referenced by parse_stderr_line(), and parse_stdout_line().
| bool RsyncSpaceCheckTask.delete_after = false |
Definition at line 35 of file RsyncSpaceCheckTask.vala.
Referenced by build_script().
| bool RsyncSpaceCheckTask.delete_excluded = false |
Definition at line 36 of file RsyncSpaceCheckTask.vala.
Referenced by build_script().
| bool RsyncSpaceCheckTask.delete_extra = true |
Definition at line 34 of file RsyncSpaceCheckTask.vala.
Referenced by build_script().
| string RsyncSpaceCheckTask.dest_path = "" |
Definition at line 42 of file RsyncSpaceCheckTask.vala.
Referenced by build_script().
| bool RsyncSpaceCheckTask.dry_run = false |
Definition at line 45 of file RsyncSpaceCheckTask.vala.
| string RsyncSpaceCheckTask.exclude_from_file = "" |
Definition at line 39 of file RsyncSpaceCheckTask.vala.
Referenced by build_script().
| bool RsyncSpaceCheckTask.io_nice = true |
Definition at line 44 of file RsyncSpaceCheckTask.vala.
| string RsyncSpaceCheckTask.link_from_path = "" |
Definition at line 40 of file RsyncSpaceCheckTask.vala.
Referenced by build_script().
| bool RsyncSpaceCheckTask.relative = false |
Definition at line 37 of file RsyncSpaceCheckTask.vala.
|
private |
Definition at line 48 of file RsyncSpaceCheckTask.vala.
Referenced by init_regular_expressions(), and update_progress_parse_console_output().
| string RsyncSpaceCheckTask.source_path = "" |
Definition at line 41 of file RsyncSpaceCheckTask.vala.
Referenced by build_script().
| int64 RsyncSpaceCheckTask.status_line_count = 0 |
Definition at line 51 of file RsyncSpaceCheckTask.vala.
Referenced by prepare(), and update_progress_parse_console_output().
| int64 RsyncSpaceCheckTask.total_size = 0 |
Definition at line 52 of file RsyncSpaceCheckTask.vala.
Referenced by Main.get_space_needed_for_rsync_snapshot(), prepare(), and update_progress_parse_console_output().
| bool RsyncSpaceCheckTask.verbose = true |
Definition at line 43 of file RsyncSpaceCheckTask.vala.
Referenced by build_script().