futility/updater_archive.c
/*
 * Checks if an entry (either file or directory) exists in archive.
 * If entry name (fname) is an absolute path (/file), always check
 * with real file system.
 * Returns 1 if exists, otherwise 0
 */
Checks if an entry (either file or directory) exists in archive.
If entry name (fname) is an absolute path (/file), always check
with real file system.
Returns 1 if exists, otherwise 0
Checks if an entry ( either file or directory ) exists in archive . If entry name ( fname ) is an absolute path ( / file ) always check with real file system . Returns 1 if exists otherwise 0
int archive_has_entry(struct archive *ar, const char *name)
{
	if (!ar || *name == '/')
		return archive_fallback_has_entry(NULL, name);
	return ar->has_entry(ar->handle, name);
}
int archive_has_entry ( struct archive * ar , const char * name ) { if ( ! ar || * name == ' ' ) return archive_fallback_has_entry ( NULL , name ) ; return ar -> has_entry ( ar -> handle , name ) ; }
Checks if an entry (either file or directory) exists in archive.
Checks if an entry ( either file or directory ) exists in archive .