MCPcopy Create free account
hub / github.com/awsdocs/aws-doc-sdk-examples / Getwd

Method Getwd

gov2/demotools/filesystem.go:33–35  ·  view source on GitHub ↗

Getwd returns the current working directory using the os module.

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

GetwdMethod · 0.65

Tested by

no test coverage detected