This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
packages:python-poldek [2006-06-07 01:26] glen |
packages:python-poldek [2006-06-07 01:33] glen |
||
---|---|---|---|
Line 36: | Line 36: | ||
>>> ctx.configure(poldekmod.POLDEK_CONF_CACHEDIR, "/tmp/cache") | >>> ctx.configure(poldekmod.POLDEK_CONF_CACHEDIR, "/tmp/cache") | ||
1 | 1 | ||
+ | </file> | ||
+ | |||
+ | |||
+ | ===== poldek_ts ===== | ||
+ | poldek_ts(ctx, FLAGS) | ||
+ | |||
+ | where flags can be (from poldek_ts.c::poldek_ts_setf): | ||
+ | |||
+ | |||
+ | * POLDEK_TS_INSTALL | ||
+ | * POLDEK_TS_UNINSTALL | ||
+ | * POLDEK_TS_VERIFY | ||
+ | |||
+ | |||
+ | <file>>>> ts = poldek.poldek_ts(ctx, 0) | ||
+ | >>> ts = poldek.poldek_ts(ctx, poldekmod.POLDEK_TS_INSTALL) | ||
</file> | </file> | ||
Line 43: | Line 59: | ||
<file>>>> cctx = poldek.poclidek_ctx(ctx) | <file>>>> cctx = poldek.poclidek_ctx(ctx) | ||
+ | >>> cmd = cctx.rcmd_new(ts) | ||
</file> | </file> | ||