Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ Validate
Method
Validate
internal/model/req.go:13–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
const
MinInt = -MaxInt - 1
12
13
func
(p *PageReq) Validate() {
14
if
p.Page < 1 {
15
p.Page = 1
16
}
17
if
p.PerPage < 1 {
18
p.PerPage = MaxInt
19
}
20
}
Callers
11
normalizeFSListArgs
Function · 0.95
ListStorages
Function · 0.95
ListSharings
Function · 0.95
list
Function · 0.95
ListMetas
Function · 0.95
ListUsers
Function · 0.95
FsArchiveListSplit
Function · 0.45
loginHash
Function · 0.45
Verify2FA
Function · 0.45
Search
Function · 0.45
FsListSplit
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected