MCPcopy Create free account
hub / github.com/apache/fesod / getGitName

Function getGitName

website/github-avatar.js:83–85  ·  view source on GitHub ↗

* Get GitHub name from URL * @param {string} url - GitHub URL * @returns {string} GitHub name

(url)

Source from the content-addressed store, hash-verified

81 * @returns {string} GitHub name
82 */
83function getGitName(url) {
84 return url.replace('https://github.com/', '');
85}
86
87/**
88 * Processes a list of githubIds and adds avatar_base64 property

Callers 1

processBlogAuthorsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected