MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / ReadDirAll

Method ReadDirAll

cmd/cql-fuse/node.go:225–230  ·  view source on GitHub ↗

ReadDirAll returns the list of child inodes.

(_ context.Context)

Source from the content-addressed store, hash-verified

223
224// ReadDirAll returns the list of child inodes.
225func (n *Node) ReadDirAll(_ context.Context) ([]fuse.Dirent, error) {
226 if !n.isDir() {
227 return nil, fuse.Errno(syscall.ENOTDIR)
228 }
229 return n.cfs.list(n.ID)
230}
231
232// Mkdir creates a directory in 'n'.
233// We let the sql query fail if the directory already exists.

Callers

nothing calls this directly

Calls 2

isDirMethod · 0.95
listMethod · 0.80

Tested by

no test coverage detected