Commit Graph

9 Commits (d98d08a7e0b443afba2c96ae6cd9952e934852b1)

Author SHA1 Message Date
Daniel Gasienica 24f4ad53bc Use single quotes for identifiers 8 years ago
Daniel Gasienica 5a6668e677 Add `Attachments.createWriteForExisting`
This function lets us choose where to write attachment to instead of picking
random name.
8 years ago
Daniel Gasienica efd673083d Rename `writeAttachmentData` to `writeNewAttachmentData` 8 years ago
Daniel Gasienica 36771a2dab Prefer double quotes over backticks for identifiers 8 years ago
Daniel Gasienica 8474f3cf7f Use `create*` prefix to clarify curried functions 8 years ago
Daniel Gasienica d9be6a0f94 Destructure Lodash `require`s 8 years ago
Daniel Gasienica add5d4ab0b Prevent macOS Spotlight indexing of attachments folder
See: https://apple.stackexchange.com/a/92785
8 years ago
Daniel Gasienica 10afcf1bb0 Add `Attachments.deleteData` 8 years ago
Daniel Gasienica 1c8123ff1a Move `writeAttachmentData` into `Attachments`
Encapsulates all attachment operations that require Node.js / Electron APIs,
e.g. file system access.
8 years ago