summaryrefslogtreecommitdiffstats
path: root/lib/models/summary.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/summary.js')
-rw-r--r--lib/models/summary.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/models/summary.js b/lib/models/summary.js
index f295a16..4ab2d68 100644
--- a/lib/models/summary.js
+++ b/lib/models/summary.js
@@ -27,6 +27,17 @@ Summary.prototype.getByLevel = function(level) {
return SummaryArticle.getByLevel(this, level, 'getParts');
};
+/**
+ Return an article by its path
+
+ @param {String} filePath
+ @return {Part|Article}
+*/
+Summary.prototype.getByPath = function(filePath) {
+ // todo
+
+ return undefined;
+};
/**
Create a new summary for a list of parts