MCPcopy Create free account
hub / github.com/cogentcore/core / OpenFS

Method OpenFS

tensor/table/io.go:145–149  ·  view source on GitHub ↗

OpenFS is the version of [IndexView.OpenCSV] that uses an [fs.FS] filesystem.

(fsys fs.FS, filename string, delim Delims)

Source from the content-addressed store, hash-verified

143
144// OpenFS is the version of [IndexView.OpenCSV] that uses an [fs.FS] filesystem.
145func (ix *IndexView) OpenFS(fsys fs.FS, filename string, delim Delims) error {
146 err := ix.Table.OpenFS(fsys, filename, delim)
147 ix.Sequential()
148 return err
149}
150
151// ReadCSV reads a table from a comma-separated-values (CSV) file
152// (where comma = any delimiter, specified in the delim arg),

Callers

nothing calls this directly

Calls 2

SequentialMethod · 0.95
OpenFSMethod · 0.45

Tested by

no test coverage detected