build.c File Reference

_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"
Include dependency graph for build.c:

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.

Detailed Description

_build_new_list action file.

Definition in file build.c.


Function Documentation

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().

Here is the call graph for this function:

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.

Here is the call graph for this function:


Generated for fsvs by  doxygen 1.6.1