diff piecrust/sources/interfaces.py @ 926:86b684cc0551

sources: Add `findContentFromPath` API.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 01 Oct 2017 20:37:11 -0700
parents f070a4fc033c
children 8adc27285d93
line wrap: on
line diff
--- a/piecrust/sources/interfaces.py	Sun Oct 01 20:36:38 2017 -0700
+++ b/piecrust/sources/interfaces.py	Sun Oct 01 20:37:11 2017 -0700
@@ -29,3 +29,5 @@
     def getInteractiveFields(self):
         raise NotImplementedError()
 
+    def findContentFromPath(self, path):
+        raise NotImplementedError()