MCPcopy Index your code
hub / github.com/cockroachdb/errors / registerOsPathErrorMigration

Function registerOsPathErrorMigration

errbase/oserror_go116.go:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19import "io/fs"
20
21func registerOsPathErrorMigration() {
22 // The os.PathError type was migrated to io.fs.PathError in Go 1.16.
23 RegisterTypeMigration("os", "*os.PathError", &fs.PathError{})
24}

Callers 1

initFunction · 0.70

Calls 1

RegisterTypeMigrationFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…