Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/decaporg/decap-cms
/ getUser
Method
getUser
packages/decap-cms-backend-gitea/src/API.ts:141–143 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
139
}
140
141
getUser() {
142
return
this.request(
'/user'
) as Promise<GiteaUser>;
143
}
144
145
async
hasWriteAccess() {
146
try {
Callers
3
user
Method · 0.95
user
Method · 0.95
status
Method · 0.45
Calls
1
request
Method · 0.95
Tested by
no test coverage detected