Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for finds (0.34 sec)

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

        });
    
        console.log("computeStatistics: ");
        console.log(summaries)
        return summaries;
    }
    
    function metadataFor(fileMetadatas, file) {
        return fileMetadatas.find(fileMetadata => fileMetadata.file == file);
    }
    
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. .cm/plugins/filters/readField/index.js

     * @param {String} objectName - The name of the particular object to find
     * @param {String} fieldName - The name of the field for the group to return
     * @returns String - The specified value
     * @example {{ files | byPlatform | categorize(branch.diff.files_metadata) | readField('jvm', 'name') }}
     */
    
    function readField(objects, objectName, fieldName) {
        let group = Object.values(objects).find(s => s.name === objectName);
        if (group) {
    JavaScript
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1K bytes
    - Viewed (0)
  3. .cm/plugins/filters/byCodeowner/index.js

                return {path, owners};
            });
    }
    
    function resolveCodeowners(mapping, file) {
        let match = mapping
            .slice()
            .reverse()
            .find(x =>
                ignore()
                    .add(x.path)
                    .ignores(file)
            );
        if (!match) {
            console.log("No codeowner found for: " + file);
            return ['No owner'];
        }
    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

        const {length} = slashes
        return slashes.slice(0, length - length % 2)
    }
    
    // > If the pattern ends with a slash,
    // > it is removed for the purpose of the following description,
    // > but it would only find a match with a directory.
    // > In other words, foo/ will match a directory foo and paths underneath it,
    // > but will not match a regular file or a symbolic link foo
    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