#include "actions.h"


Go to the source code of this file.
Functions | |
| int | st__print_entry_info (struct estat *sts) | 
| Shows detailed information about the entry.   | |
| volatile char * | st__status_string (const struct estat *const sts) | 
| Returns a string describing the entry_status bits of struct estat.   | |
| volatile char * | st__status_string_fromint (int mask) | 
| Same as st__status_string, but directly given an status.   | |
| volatile char * | st__flags_string_fromint (int mask) | 
| Return the string interpretation of the flags like RF_CHECK.   | |
| char * | st__type_string (mode_t mode) | 
| Return the type string - cdev, bdev, whatever.   | |
Variables | |
| action_t | st__status | 
| A function to show the local status of an entry.   | |
| action_t | st__action | 
| Status action.   | |
| action_t | st__rm_status | 
| A function to show the remote status of an entry.   | |
| work_t | st__work | 
| The status worker function.   | |
| action_t | st__progress | 
| Percentual display of progress.   | |
| action_uninit_t | st__progress_uninit | 
| Uninitializer for st__progress.   | |
Definition in file status.h.
| volatile char* st__flags_string_fromint | ( | int | mask | ) |  [inline] | 
        
Return the string interpretation of the flags like RF_CHECK.
Definition at line 645 of file status.c.
References BIT_INFO, RF_ADD, RF_CHECK, RF_CONFLICT, RF_COPY_BASE, RF_COPY_SUB, RF_PUSHPROPS, RF_UNVERSION, and st___string_from_bits.
Referenced by ci__nondir(), DEBUGP_dump_estat(), and st__print_entry_info().

| int st__print_entry_info | ( | struct estat * | sts | ) | 
Shows detailed information about the entry.
Definition at line 705 of file status.c.
References cm__get_source(), cs__md5tohex_buffered(), sstat_t::ctim, url_t::current_rev, sstat_t::dev, estat::entry_count, estat::entry_status, estat::flags, sstat_t::gid, GWD_CONF, GWD_WAA, hlp__get_grname(), hlp__get_uname(), sstat_t::ino, estat::md5, sstat_t::mode, sstat_t::mtim, ops__build_path(), OPT__VERBOSE, estat::parent, sstat_t::rdev, estat::repos_rev, RF___IS_COPY, RF_PRINT, sstat_t::size, estat::st, st__flags_string_fromint(), st__status_string(), st__type_string(), STOPIF, STOPIF_CODE_EPIPE, sstat_t::uid, url__full_url(), urllist, VERBOSITY_COPYFROM, and waa__get_waa_directory().
Referenced by info__action().


| volatile char* st__status_string | ( | const struct estat *const | sts | ) |  [inline] | 
        
Returns a string describing the entry_status bits of struct estat.
Definition at line 699 of file status.c.
References estat::entry_status, and st__status_string_fromint().
Referenced by ci__nondir(), st__print_entry_info(), and waa___finish_directory().


| volatile char* st__status_string_fromint | ( | int | mask | ) |  [inline] | 
        
Same as st__status_string, but directly given an status.
Definition at line 664 of file status.c.
References BIT_INFO, FS_CHANGED, FS_CHILD_CHANGED, FS_LIKELY, FS_META_GROUP, FS_META_MTIME, FS_META_OWNER, FS_META_UMODE, FS_NEW, FS_PROPERTIES, FS_REMOVED, and st___string_from_bits.
Referenced by DEBUGP_dump_estat(), df___repos_repos(), main(), ops__stat_to_action(), rev___local_revert(), rev___revert_to_base(), st__status_string(), waa___finish_directory(), and waa__find_common_base2().

| char* st__type_string | ( | mode_t | mode | ) | 
Return the type string - cdev, bdev, whatever.
Definition at line 682 of file status.c.
References S_IFGARBAGE.
Referenced by cb__add_entry(), DEBUGP_dump_estat(), df___diff_wc_remote(), and st__print_entry_info().

| action_t st__progress | 
Percentual display of progress.
Definition at line 28 of file status.h.
Referenced by ci__action(), df__work(), rev___no_local_change(), rev__work(), and st__work().
| action_uninit_t st__progress_uninit | 
Uninitializer for st__progress.
Definition at line 30 of file status.h.
Referenced by df__work(), rev__work(), and st__work().
| action_t st__rm_status | 
A function to show the remote status of an entry.
Definition at line 22 of file status.h.
Referenced by rev__do_changed(), and sync__progress().
| action_t st__status | 
A function to show the local status of an entry.
Definition at line 18 of file status.h.
Referenced by au__action(), info__action(), res__action(), rev___local_revert(), st__action(), st__work(), up__close_directory(), and up__close_file().
 1.5.9