file

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirsForFiles

func DirsForFiles(files []File) (dirs []string)

Types

type File

type File struct {
	Name    string `yaml:"name"`
	Mode    string `yaml:"mode"`
	Binary  bool   `yaml:"binary"`
	Content string `yaml:"content"`
}

func FilesFromConfig

func FilesFromConfig(fileMap map[string]File) (files []File)

Jump to

Keyboard shortcuts

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