UNPKG

sfdx-plugin-package-xml

Version:

explore metadata in an org and generate a package.xml manifest

11 lines (10 loc) 583 B
export type ToStringFunction = (item: any) => string; /** * * @param collection an array of strings or objects * @param patterns a list of patterns similar to .gitignore entries * @param toString if the collection is an array of objects: a function to convert an item of the collection to a string to be able to match against the allowPatterns * @param picoMatchOptions options for picomatch library * @returns Array with [matched, unmatched] */ export declare function match(collection: any[], patterns: string[], toString?: ToStringFunction, picoMatchOptions?: any): any[];