MCPcopy
hub / github.com/docker/compose / Chdir

Method Chdir

pkg/watch/temp_dir_fixture.go:65–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65func (f *TempDirFixture) Chdir() {
66 cwd, err := os.Getwd()
67 if err != nil {
68 f.t.Fatal(err)
69 }
70
71 f.oldDir = cwd
72
73 err = os.Chdir(f.Path())
74 if err != nil {
75 f.t.Fatal(err)
76 }
77}
78
79func (f *TempDirFixture) JoinPath(path ...string) string {
80 p := []string{}

Callers 1

tearDownMethod · 0.80

Calls 1

PathMethod · 0.95

Tested by

no test coverage detected