MCPcopy Create free account
hub / github.com/brimdata/super / Filepath

Method Filepath

pkg/storage/uri_windows.go:19–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func (p *URI) Filepath() string {
20 path := p.Path
21 if path[0] == '/' && len(filepath.VolumeName(path[1:])) == 2 {
22 // Strip leading '/' from paths beginning with a drive letter.
23 path = path[1:]
24 }
25 return filepath.FromSlash(path)
26}

Callers 13

GetMethod · 0.45
PutMethod · 0.45
PutIfNotExistsMethod · 0.45
DeleteMethod · 0.45
DeleteByPrefixMethod · 0.45
SizeMethod · 0.45
ExistsMethod · 0.45
ListMethod · 0.45
TestURIWinVolumeFunction · 0.45
TestURIWinFileSchemeFunction · 0.45
TestURIWinRelativeFunction · 0.45

Calls

no outgoing calls

Tested by 5

TestURIWinVolumeFunction · 0.36
TestURIWinFileSchemeFunction · 0.36
TestURIWinRelativeFunction · 0.36
TestURIWinUNCPathFunction · 0.36