Rename writeAttachmentData
to writeNewAttachmentData
This commit is contained in:
parent
36771a2dab
commit
efd673083d
7 changed files with 28 additions and 25 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue