Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for filter (0.13 sec)

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

     * @returns {String} Returns the formatted HTMl table string.
     * @example {{ owners | categorize(branch.diff.files_metadata) | computeStatistics(branch.diff.files_metadata) | summaryTable('Platform') }}
     */
    function summaryTable(statistics, title) {
        let preppedStatistics = statistics.filter(s => s.files.length > 0)
            .sort(s => -(s.additions + s.deletions));
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. .cm/plugins/filters/isEnabledAutomation/index.js

     * </ul>
     *
     * or
     *
     * <ul>
     *     <li>Someone has commented `@bot-gitstream run <NAME_OF_AUTOMATION>` (the file name, without the `.cm` suffix) on the PR.</li>
     * </ul>
     *
     * @param {string} automationName - The automation name (*.cm file name containing the automation) to check.
     * @param {Map} pr - The gitStream PR instance to check (includes metadata related to the pull request).
    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)
  3. .cm/plugins/filters/byCodeowner/index.js

     * @description Groups the PR's files' by owner based on the CODEOWNERs file.
     * @param {string[]} files - the gitStream's files context variable
     * @param {Object} pr - the gitStream's pr context variable
     * @param {string} token - access token with repo:read scope, used to read the CODEOWNERS file
     * @param {string} pathToCodeOwners - path from repo root to CODEOWNERS file
     * @returns {Map} - Map from owner name to list of files they own
    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)
  4. .cm/plugins/filters/byCodeowner/ignore/index.js

                // > It is not possible to re-include a file if a parent directory of
                // >   that file is excluded.
                ? parent
                : this._testOne(path, checkUnignored)
        }
    
        ignores (path) {
            return this._test(path, this._ignoreCache, false).ignored
        }
    
        createFilter () {
            return path => !this.ignores(path)
        }
    
        filter (paths) {
    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