MCPcopy
hub / github.com/cubefs/cubefs / absPath

Method absPath

client/gosdk/cfs_client.go:1160–1166  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

1158}
1159
1160func (c *Client) absPath(path string) string {
1161 p := gopath.Clean(path)
1162 if !gopath.IsAbs(p) {
1163 p = gopath.Join(c.cwd, p)
1164 }
1165 return gopath.Clean(p)
1166}
1167
1168func (c *Client) loadConfFromMaster(masters []string) (err error) {
1169 mc := masterSDK.NewMasterClient(masters, false)

Callers 12

ChdirMethod · 0.95
GetAttrMethod · 0.95
SetAttrMethod · 0.95
OpenFileMethod · 0.95
RefreshSummaryMethod · 0.95
MkdirsMethod · 0.95
RmdirMethod · 0.95
UnlinkMethod · 0.95
RenameMethod · 0.95
GetSummaryMethod · 0.95
SymLinkMethod · 0.95
LinkMethod · 0.95

Calls 1

JoinMethod · 0.65

Tested by

no test coverage detected