Friday, December 13, 2013

Smooth-Build ver 0.8.0

I've just released smooth-build version 0.8.0. This release does not bring anything groundbreaking just a few fixes here and there. A couple new functions has also been added:

  • path(File file) - returns path of given File
  • content(File file) - returns content of given File (it was actually renamed from toBlob() function)
  • toBlob(String string) - converts String to Blob using UTF-8 encoding
  • toFile(Blob content, String path) - creates a file with given path containing given content

I also removed undocumented newFile() function.

If you used old version of toBlob() function you have to replace usages with content() function. Other changes are backward compatible.

No comments:

Post a Comment

Your comment