Skip to content

Add file functions for FileSetting#236

Merged
Jiiks merged 1 commit into
JsSucks:masterfrom
Maks-s:filetype
Aug 22, 2018
Merged

Add file functions for FileSetting#236
Jiiks merged 1 commit into
JsSucks:masterfrom
Maks-s:filetype

Conversation

@Maks-s
Copy link
Copy Markdown

@Maks-s Maks-s commented Aug 21, 2018

Add file utility to FileSetting because just having the path to a file isn't useful for plugin developers

  • filetype() return mime type
  • read() return contents of files
  • readBuffer() return contents of files in a buffer

@Jiiks Jiiks merged commit b3d14d8 into JsSucks:master Aug 22, 2018
@Maks-s Maks-s deleted the filetype branch July 17, 2019 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants