Getwd returns the current working directory using the os module.
()
| 31 | |
| 32 | // Getwd returns the current working directory using the os module. |
| 33 | func (filesystem FileSystem) Getwd() (string, error) { |
| 34 | return os.Getwd() |
| 35 | } |
| 36 | |
| 37 | // OpenFile returns an io.ReadWriterCloser object based on the provided filename. |
| 38 | func (filesystem FileSystem) OpenFile(filename string) (io.ReadWriteCloser, error) { |