Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Grim (0.12 sec)

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

    function codeownersMapping(data) {
        return data
            .toString()
            .split('\n')
            .filter(x => x && !x.startsWith('#'))
            .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()
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 19:12:32 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top