MCPcopy Index your code
hub / github.com/coder/coder / Rename

Method Rename

agent/agentfiles/files_test.go:105–110  ·  view source on GitHub ↗
(oldName, newName string)

Source from the content-addressed store, hash-verified

103}
104
105func (fs *testFs) Rename(oldName, newName string) error {
106 if err := fs.intercept("rename", newName); err != nil {
107 return err
108 }
109 return fs.Fs.Rename(oldName, newName)
110}
111
112func TestReadFile(t *testing.T) {
113 t.Parallel()

Callers 4

dotfilesMethod · 0.45
FileFunction · 0.45
atomicWriteMethod · 0.45
TestFSNotifyWatcherFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected