[go: up one dir, main page]

Menu

[r21]: / trunk / libapk-api.txt  Maximize  Restore  History

Download this file

78 lines (47 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
libapk functions API
clean_cache()
Parameters: none
Remove files from the cache (APK_CACHE
eecho(msg, ...)
Parameters: $*
Echo to stderr
beautify_path(path)
Parameters: path
Removes double /'s from path.
die(errmsg)
Parameters: errmsg
print errmsg to std err and exit(1)
get_var(varname, default)
Parameters: varname default
Look for varname in the environment. If its not specified in
environment /etc/apk.conf will be looked up (overridden by
$APKTOOLS_CONF). If its not in the conf file the parameter "default"
will be returned.
init_globals()
Parameters: none
Assign default values to global variables if they are not specified in
environment or configuration file ($APKTOOLS_CONF)
dump_env()
Parameters: none
Print values of all global variables.
create_sha1sum() ¹
create_backup_sha1sum()
get_description() {
all_installed_with_desc()
all_installed()
get_installed_pkgv(pkg)
get_control() {
get_installed_pkgv() {
decompress_meta()
compress_meta()
pkgv_metafile()
pkgv_listfiles()
pkgv_backupfiles()
pkg_check()
get_media_type()
media_mount()
get_mounted_path()
media_umount()
load_repmod()
get_depend()
load_bakmod()