Rename writeAttachmentData to writeNewAttachmentData

This commit is contained in:
Daniel Gasienica 2018-04-03 21:06:29 -04:00
parent 36771a2dab
commit efd673083d
7 changed files with 28 additions and 25 deletions

View file

@ -43,10 +43,10 @@ exports.createReader = (root) => {
};
};
// createWriter :: AttachmentsPath ->
// ArrayBuffer ->
// IO (Promise RelativePath)
exports.createWriter = (root) => {
// createWriterForNew :: AttachmentsPath ->
// ArrayBuffer ->
// IO (Promise RelativePath)
exports.createWriterForNew = (root) => {
if (!isString(root)) {
throw new TypeError('"root" must be a path');
}