MCPcopy Create free account
hub / github.com/stretchr/testify / getTempSymlinkPath

Function getTempSymlinkPath

assert/assertions_test.go:2242–2246  ·  view source on GitHub ↗
(file string)

Source from the content-addressed store, hash-verified

2240}
2241
2242func getTempSymlinkPath(file string) (string, error) {
2243 link := file + "_symlink"
2244 err := os.Symlink(file, link)
2245 return link, err
2246}
2247
2248func cleanUpTempFiles(paths []string) []error {
2249 var res []error

Callers 4

TestFileExistsFunction · 0.85
TestNoFileExistsFunction · 0.85
TestDirExistsFunction · 0.85
TestNoDirExistsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected