embedsync

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL