Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TruthHun/DocHub
/ GetPublicDomain
Method
GetPublicDomain
models/CloudStoreModel.go:397–401 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
395
}
396
397
func
(c *CloudStore) GetPublicDomain() (domain string) {
398
object :=
"test.dochub.test"
399
link := c.GetSignURL(object)
400
return
strings.TrimRight(strings.Split(link, object)[0],
"/"
)
401
}
Callers
4
Prepare
Method · 0.95
Prepare
Method · 0.95
ImageWithoutDomain
Method · 0.95
DeleteImageFromHtml
Method · 0.95
Calls
1
GetSignURL
Method · 0.95
Tested by
no test coverage detected