Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FSToProtoFileSystem ¶
FSToProtoFileSystem converts an fs.FS to a proto FileSystem so that it can be sent to the frontend. TODO should write a test for this
func WriteFSToDisk ¶
WriteFSToDisk writes a filesystem to disk. It does so by recursively walking the filesystem and writing each file to disk.
root defines the starting point of the walk. It is relative to the filesystem. TODO should write a test
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.