_build_new_list action file. More...
#include <time.h>
#include "global.h"
#include "waa.h"
#include "helper.h"
#include "options.h"
#include "url.h"
#include "build.h"
Go to the source code of this file.
Functions | |
int | bld__work (struct estat *root, int argc, char *argv[]) |
Traverse the filesystem, build a tree, and store it as WC. | |
int | delay__work (struct estat *root, int argc, char *argv[]) |
Waits until the dir and Urls files have been modified in the past, ie their timestamp is lower than the current time (rounded to seconds. |
_build_new_list action file.
Definition in file build.c.
int bld__work | ( | struct estat * | root, | |
int | argc, | |||
char * | argv[] | |||
) |
Traverse the filesystem, build a tree, and store it as WC.
Doesn't do anything with the repository.
Definition at line 37 of file build.c.
References current_url, DEBUGP, estat::do_userselected, opt_recursive, STOPIF, url__load_list(), urllist, urllist_count, waa__build_tree(), waa__find_base(), and waa__output_tree().
int delay__work | ( | struct estat * | root, | |
int | argc, | |||
char * | argv[] | |||
) |
Waits until the dir
and Urls
files have been modified in the past, ie their timestamp is lower than the current time (rounded to seconds.
)
Definition at line 90 of file build.c.
References DEBUGP, filename, hlp__delay(), hlp__lstat(), sstat_t::mtim, OPT__DELAY, opt__is_verbose(), opt__set_int(), PRIO_MUSTHAVE, STOPIF, WAA__DIR_EXT, waa__find_base(), waa__get_gwd_flag(), waa__get_waa_directory(), WAA__URLLIST_EXT, and wc_path.