Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudreve/cloudreve
/ hashEncoder
Struct
hashEncoder
pkg/hashid/hash.go:43–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
)
42
43
type
hashEncoder
struct
{
44
h *hashids.HashID
45
}
46
47
func
New(salt string) (Encoder, error) {
48
hd := hashids.NewData()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected