MCPcopy Index your code
hub / github.com/dnote/dnote / Open

Method Open

pkg/server/database/migrate_test.go:47–49  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

45type errorFS struct{}
46
47func (e errorFS) Open(name string) (fs.File, error) {
48 return nil, fs.ErrNotExist
49}
50
51func (e errorFS) ReadDir(name string) ([]fs.DirEntry, error) {
52 return nil, fs.ErrPermission

Callers 15

CopyFileFunction · 0.80
OpenFunction · 0.80
TestMigrate_idempotencyFunction · 0.80
TestMigrate_orderingFunction · 0.80
TestMigrate_readDirErrorFunction · 0.80
TestMigrate_sqlErrorFunction · 0.80
TestMigrate_emptyFileFunction · 0.80
OpenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected