Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pocketbase/pocketbase
/ cutStr
Function
cutStr
core/validators/validators.go:42–47 ·
view source on GitHub ↗
(str string, max int)
Source
from the content-addressed store, hash-verified
40
}
41
42
func
cutStr(str string, max int) string {
43
if
len(str) > max {
44
return
str[:max] +
"..."
45
}
46
return
str
47
}
Callers
2
UploadedFileSize
Function · 0.70
UploadedFileMimeType
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…