mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-04-14 12:06:03 +00:00
14 lines
310 B
Swift
14 lines
310 B
Swift
//
|
|
// Renderer.swift
|
|
// SiteGenerator
|
|
//
|
|
// Created by Sami Samhuri on 2019-12-02.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public protocol Renderer {
|
|
func canRenderFile(named filename: String, withExtension ext: String) -> Bool
|
|
|
|
func render(fileURL: URL, targetDir: URL, templateRenderer: TemplateRenderer) throws
|
|
}
|