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

Method ReadDir

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

Source from the content-addressed store, hash-verified

49}
50
51func (e errorFS) ReadDir(name string) ([]fs.DirEntry, error) {
52 return nil, fs.ErrPermission
53}
54
55func TestMigrate_createsSchemaTable(t *testing.T) {
56 db, err := gorm.Open(sqlite.Open(":memory:"), &gorm.Config{})

Callers 3

CopyDirFunction · 0.45
ReadDirMethod · 0.45
getMigrationFilesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected