Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for resolveCodeowners (0.18 sec)

  1. .cm/plugins/filters/byCodeowner/index.js

            .map(x => x.split("#")[0])
            .map(x => {
                const line = x.trim();
                const [path, ...owners] = line.split(/\s+/);
                return {path, owners};
            });
    }
    
    function resolveCodeowners(mapping, file) {
        let match = mapping
            .slice()
            .reverse()
            .find(x =>
                ignore()
                    .add(x.path)
                    .ignores(file)
            );
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top