aboutsummaryrefslogtreecommitdiff
path: root/lib/content-types-reader.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-04-27 22:48:31 +0100
committerMichael Williamson <mike@zwobble.org>2013-04-27 22:48:31 +0100
commite1f18ccd40a40c8f9001517c9f6aa56a797a9110 (patch)
tree4f98ccf6d490a98000564c0b6185600c09b3101d /lib/content-types-reader.js
parent6b040ed3f347e34fc89013ff7dc9268c733cee47 (diff)
Split out stubbed implementation of content-types-reader
Diffstat (limited to 'lib/content-types-reader.js')
-rw-r--r--lib/content-types-reader.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/content-types-reader.js b/lib/content-types-reader.js
new file mode 100644
index 0000000..5240d21
--- /dev/null
+++ b/lib/content-types-reader.js
@@ -0,0 +1,10 @@
+exports.readContentTypesFromZipFile = readContentTypesFromZipFile;
+
+
+function readContentTypesFromZipFile(file) {
+ return {
+ findContentType: function(path) {
+ return "image/png";
+ }
+ }
+}