MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / JoinPath

Method JoinPath

internal/model/user.go:231–233  ·  view source on GitHub ↗
(reqPath string)

Source from the content-addressed store, hash-verified

229}
230
231func (u *User) JoinPath(reqPath string) (string, error) {
232 return utils.JoinBasePath(u.BasePath, reqPath)
233}
234
235func StaticHash(password string) string {
236 return utils.HashData(utils.SHA256, []byte(fmt.Sprintf("%s-%s", password, StaticHashSalt)))

Callers 15

LinkMethod · 0.80
PutMethod · 0.80
postMethod · 0.80
AddFromLinkMethod · 0.80
FsUpFunction · 0.80
handleOptionsMethod · 0.80
handleGetHeadPostMethod · 0.80
handleDeleteMethod · 0.80
handlePutMethod · 0.80
handleMkcolMethod · 0.80
handleCopyMoveMethod · 0.80
handleLockMethod · 0.80

Calls 1

JoinBasePathFunction · 0.92

Tested by

no test coverage detected