mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 09:23:09 +00:00
Remove unused code
This commit is contained in:
parent
d9b5dcb679
commit
c557a2e020
5
dir.go
5
dir.go
|
@ -139,6 +139,11 @@ func (d *Dir) manipulate(cfg *Config) error {
|
|||
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.
|
||||
func (d *Dir) write(dstDir string, format Format) error {
|
||||
// Create the directory
|
||||
|
|
Loading…
Reference in a new issue