We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3476100 commit c2eaa49Copy full SHA for c2eaa49
src/os/file_other.go
@@ -42,6 +42,12 @@ func NewFile(fd uintptr, name string) *File {
42
return &File{&file{handle: stdioFileHandle(fd), name: name}}
43
}
44
45
+// Chdir changes the current working directory to the named directory.
46
+// If there is an error, it will be of type *PathError.
47
+func Chdir(dir string) error {
48
+ return ErrNotImplemented
49
+}
50
+
51
// Rename renames (moves) oldpath to newpath.
52
// If newpath already exists and is not a directory, Rename replaces it.
53
// OS-specific restrictions may apply when oldpath and newpath are in different directories.
0 commit comments