MCPcopy Create free account
hub / github.com/decaporg/decap-cms / user

Method user

packages/decap-cms-backend-gitea/src/API.ts:134–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 static DEFAULT_COMMIT_MESSAGE = 'Automatically generated by Static CMS';
133
134 user(): Promise<{ full_name: string; login: string; email: string; avatar_url: string }> {
135 if (!this._userPromise) {
136 this._userPromise = this.getUser();
137 }
138 return this._userPromise;
139 }
140
141 getUser() {
142 return this.request('/user') as Promise<GiteaUser>;

Callers 9

statusMethod · 0.45
authenticateMethod · 0.45
statusMethod · 0.45
authenticateMethod · 0.45
statusMethod · 0.45
authenticateMethod · 0.45
gitlab.spec.jsFile · 0.45
statusMethod · 0.45
authenticateMethod · 0.45

Calls 1

getUserMethod · 0.95

Tested by

no test coverage detected