Skip to content

Commit 7159a31

Browse files
authored
Merge pull request #20 from vapor/cache-settable
make cache publicly settable
2 parents 53805a5 + 15fdd59 commit 7159a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Leaf/Stem.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
public final class Stem {
22
public let workingDirectory: String
3+
public var cache: [String: Leaf]?
34
public fileprivate(set) var tags: [String: Tag] = defaultTags
4-
public fileprivate(set) var cache: [String: Leaf]?
55

66
public init(workingDirectory: String, cache: [String: Leaf]? = [:]) {
77
self.workingDirectory = workingDirectory.finished(with: "/")

0 commit comments

Comments
 (0)