From: espie Date: Sat, 27 May 2023 09:58:26 +0000 (+0000) Subject: prepare for 5.36, document methods in base class X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7c22bbb7276f8604b3c32eda17aef9d44da7812f;p=openbsd prepare for 5.36, document methods in base class --- diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm index d0948a9e488..c27a7d836db 100644 --- a/usr.sbin/pkg_add/OpenBSD/Add.pm +++ b/usr.sbin/pkg_add/OpenBSD/Add.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Add.pm,v 1.193 2023/05/23 10:02:46 espie Exp $ +# $OpenBSD: Add.pm,v 1.194 2023/05/27 09:58:26 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -277,10 +277,13 @@ use OpenBSD::Error; # used by newuser/newgroup to deal with options. my ($uidcache, $gidcache); +# $self->prepare_for_addition($state, $pkgname, $set) sub prepare_for_addition { } +# $self->find_extractible($state, $wanted, $tied): +# sort item into wanted (needed from archive) / tied (already there) sub find_extractible { } @@ -724,6 +727,7 @@ sub find_extractible $state->{current_set}{known_sample}{$self->fullname} = 1; } +# $self->extract($state) sub extract { }