[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Writing an apt-method?

On Fri, Feb 15, 2002 at 08:26:20PM +1000, David Findlay wrote:

> How does one go about writing an apt-method? Is there some documentation
> somewhere? Thanks,

Look at the methods/ directory in the apt source for several examples.  If
you are using C++, you can use the pkgAcqMethod class from libapt-pkg.
Otherwise, you will want to duplicate the functionality of that class in
your method.

 - mdz

Reply to: