mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
Remove unused code
This commit is contained in:
parent
bd9bb1a046
commit
27fbca53f3
5
dir.go
5
dir.go
|
@ -139,6 +139,11 @@ func (d *Dir) manipulate(cfg *Config) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Format represents an output format.
|
||||||
|
type Format interface {
|
||||||
|
Format(*Page) (path string, content []byte)
|
||||||
|
}
|
||||||
|
|
||||||
// write writes the Dir to the provided destination path.
|
// write writes the Dir to the provided destination path.
|
||||||
func (d *Dir) write(dstDir string, format Format) error {
|
func (d *Dir) write(dstDir string, format Format) error {
|
||||||
// Create the directory
|
// Create the directory
|
||||||
|
|
Loading…
Reference in a new issue