Documentation
¶
Overview ¶
Package embedsync deals with syncing go embedded files onto the system disk
NOTE: this requires an index of the files to be part of the embed. This can be generated in the MakeFile using a line like this...
@cd ./internal/mwdd/files/embed/ && find . -type f | sort > files.txt
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmbeddingDiskSync ¶
type EmbeddingDiskSync struct { Embed embed.FS EmbedPath string DiskPath string IgnoreFiles []string }
func (EmbeddingDiskSync) EnsureFilesOnDisk ¶
func (e EmbeddingDiskSync) EnsureFilesOnDisk()
func (EmbeddingDiskSync) EnsureNoExtraFilesOnDisk ¶
func (e EmbeddingDiskSync) EnsureNoExtraFilesOnDisk()
Click to show internal directories.
Click to hide internal directories.