[pacman-dev] [PATCH 1/3] Make (_alpm_)fnmatch_patterns available to front-end

Allan McRae allan at archlinux.org
Tue Nov 18 02:03:39 UTC 2014


On 18/11/14 02:33, Andrew Gregory wrote:
> On 11/17/14 at 11:33pm, Allan McRae wrote:
>> This function will be useful in determining if any files are in the NoExtract
>> array when checking for missing files.
>>
>> Signed-off-by: Allan McRae <allan at archlinux.org>
>> ---
>>  lib/libalpm/add.c        |  4 ++--
>>  lib/libalpm/util.c       | 31 -------------------------------
>>  lib/libalpm/util.h       |  1 -
>>  src/common/util-common.c | 32 ++++++++++++++++++++++++++++++++
>>  src/common/util-common.h |  4 ++++
>>  5 files changed, 38 insertions(+), 34 deletions(-)
> 
> Rather than moving this low-level function into util-common, I think we should
> expose higher level functions through the API, something like
> alpm_path_match_noextract or alpm_option_match_noextract.
> 

That makes a lot of sense.  I'll submit new patches later.

Allan


More information about the pacman-dev mailing list