summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-03-23 15:03:54 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-03-23 15:03:54 -0400
commit94f711ab1af4966a8c1099578752cddb0345e3db (patch)
treec48dcd2ed84a5a739006364706c97d3b5c3c2b27 /doc
parentdf2fd1b5fe87e97c927182771128e493545ddaa0 (diff)
downloaddebhelper-94f711ab1af4966a8c1099578752cddb0345e3db.tar.gz
document load_load, write_log
Diffstat (limited to 'doc')
-rw-r--r--doc/PROGRAMMING7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/PROGRAMMING b/doc/PROGRAMMING
index 3cea384f..5c60a0b1 100644
--- a/doc/PROGRAMMING
+++ b/doc/PROGRAMMING
@@ -250,5 +250,12 @@ getpackages($type)
inhibit_log()
Prevent logging the program's successful finish to
debian/*debhelper.log
+load_log($package, $hashref)
+ Loads the log file for the given package and returns a list of
+ logged commands.
+ (Passing a hashref also causes it to populate the hash.)
+write_log($cmd, $package ...)
+ Writes the log files for the specified package(s), adding
+ the cmd to the end.
-- Joey Hess <joeyh@debian.org>