MCPcopy
hub / github.com/epicweb-dev/epic-stack / getGitHubUsers

Function getGitHubUsers

tests/mocks/github.ts:70–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68export type GitHubUser = ReturnType<typeof createGitHubUser>
69
70async function getGitHubUsers() {
71 try {
72 if (await fsExtra.pathExists(githubUserFixturePath)) {
73 const json = await fsExtra.readJson(githubUserFixturePath)
74 return json as Array<GitHubUser>
75 }
76 return []
77 } catch (error) {
78 console.error(error)
79 return []
80 }
81}
82
83export async function deleteGitHubUser(primaryEmail: string) {
84 const users = await getGitHubUsers()

Callers 4

deleteGitHubUserFunction · 0.85
insertGitHubUserFunction · 0.85
getUserFunction · 0.85
github.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected