index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2014-11-18 12:31:30 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-11-18 12:31:30 +1000 |
commit | 96e9cf35f11f271e46af8d3c0f00c9664052fc74 (patch) | |
tree | d398d7be2c3f74547892d84d3b3d8050aa9edc43 /lib/libalpm/handle.c | |
parent | 5d11605958dd9d07f902287468104a996b3bddcc (diff) |
-rw-r--r-- | lib/libalpm/handle.c | 5 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 6545592b..5ef619ea 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -542,6 +542,11 @@ int SYMEXPORT alpm_option_remove_noextract(alpm_handle_t *handle, const char *pa return _alpm_option_strlist_rem(handle, &(handle->noextract), path); } +int SYMEXPORT alpm_option_match_noextract(alpm_handle_t *handle, const char *path) +{ + return _alpm_fnmatch_patterns(handle->noextract, path); +} + int SYMEXPORT alpm_option_add_ignorepkg(alpm_handle_t *handle, const char *pkg) { return _alpm_option_strlist_add(handle, &(handle->ignorepkg), pkg); |