(a4dfcc1ef)
#include <dpkg/file.h>
#include <dpkg/fsys.h>
Go to the source code of this file.
◆ HASHFILE
#define HASHFILE "md5sums" |
◆ LISTFILE
◆ statdb_parse_flags
Enumerator |
---|
STATDB_PARSE_NORMAL | |
STATDB_PARSE_LAX | |
◆ ensure_allinstfiles_available()
void ensure_allinstfiles_available |
( |
void |
| ) |
|
◆ ensure_allinstfiles_available_quiet()
void ensure_allinstfiles_available_quiet |
( |
void |
| ) |
|
◆ ensure_diversions()
void ensure_diversions |
( |
void |
| ) |
|
◆ ensure_packagefiles_available()
void ensure_packagefiles_available |
( |
struct pkginfo * |
pkg | ) |
|
Load the list of files in this package into memory, or update the list if it is there but stale.
◆ ensure_statoverrides()
◆ note_must_reread_files_inpackage()
void note_must_reread_files_inpackage |
( |
struct pkginfo * |
pkg | ) |
|
◆ parse_filehash()
void parse_filehash |
( |
struct pkginfo * |
pkg, |
|
|
struct pkgbin * |
pkgbin |
|
) |
| |
References _, varbuf::buf, DPKG_ERROR_INIT, dpkg_error_print(), file_slurp(), HASHFILE, pkg_infodb_get_file(), pkg_name(), pnaw_nonambig, dpkg_error::syserrno, varbuf::used, and VARBUF_INIT.
◆ statdb_parse_gid()
gid_t statdb_parse_gid |
( |
const char * |
str | ) |
|
◆ statdb_parse_mode()
mode_t statdb_parse_mode |
( |
const char * |
str | ) |
|
◆ statdb_parse_uid()
uid_t statdb_parse_uid |
( |
const char * |
str | ) |
|
◆ write_filehash_except()
References atomic_file_close(), atomic_file_commit(), atomic_file_free(), atomic_file_new(), atomic_file_open(), atomic_file_sync(), pkginfo::available, dbg_general, debug(), dir_sync_path(), fsys_namenode::flags, HASHFILE, fsys_namenode::name, fsys_namenode_list::namenode, fsys_namenode::newhash, fsys_namenode_list::next, pkg_infodb_get_dir(), pkg_infodb_get_file(), and pkg_infodb_has_file().
◆ write_filelist_except()
References atomic_file_close(), atomic_file_commit(), atomic_file_free(), atomic_file_new(), atomic_file_open(), atomic_file_sync(), dir_sync_path(), fsys_namenode::flags, LISTFILE, fsys_namenode::name, fsys_namenode_list::namenode, fsys_namenode_list::next, note_must_reread_files_inpackage(), pkg_infodb_get_dir(), and pkg_infodb_get_file().