MCPcopy
hub / github.com/gotify/server / Path

Method Path

test/tmpdir.go:14–16  ·  view source on GitHub ↗

Path returns the path to the temporary directory joined by the elements provided.

(elem ...string)

Source from the content-addressed store, hash-verified

12
13// Path returns the path to the temporary directory joined by the elements provided.
14func (c TmpDir) Path(elem ...string) string {
15 return path.Join(append([]string{c.path}, elem...)...)
16}
17
18// Clean removes the TmpDir.
19func (c TmpDir) Clean() error {

Calls

no outgoing calls