Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for plit (0.28 sec)

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

            }
        }
    
        return result;
    }
    
    function extractCheckNames(inputString) {
        const checksPart = inputString.split('@bot-gitstream check');
        if (checksPart.length === 2) {
            const checks = checksPart[1].split(' ');
            const namePattern = /^[a-zA-Z_]+$/;
            return checks.filter(check => namePattern.test(check));
        } else {
            return [];
        }
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. .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) {
    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)
  3. .cm/plugins/filters/byPlatform/index.js

        });
        return result;
    }
    
    function getPlatform(file) {
        let result = null; // Default to null in case no platform is found
    
        if (file.startsWith('platforms/')) {
            const parts = file.split('/');
            result = parts[1];
        }
    
        console.log(file + " = " + result);
        return result;
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Mon Apr 22 16:47:29 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. .cm/plugins/filters/byCodeowner/ignore/index.js

        && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern)
    
        // > A line starting with # serves as a comment.
        && pattern.indexOf('#') !== 0
    
    const splitPattern = pattern => pattern.split(REGEX_SPLITALL_CRLF)
    
    class IgnoreRule {
        constructor (
            origin,
            pattern,
            negative,
            regex
        ) {
            this.origin = origin
            this.pattern = pattern
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top