Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1Panel-dev/1Panel
/ spaces
Function
spaces
core/cmd/server/cmd/user.go:164–169 ·
view source on GitHub ↗
(n int)
Source
from the content-addressed store, hash-verified
162
}
163
164
func
spaces(n int) string {
165
if
n <= 0 {
166
return
""
167
}
168
return
fmt.Sprintf(
"%*s"
, n,
""
)
169
}
170
171
func
displayWidth(s string) int {
172
width := 0
Callers
1
padDisplayWidth
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected