I use it in apps/gallery/js/ImageEditor.js (I think that is the file). I need it to test whether there is enough free space to edit an image, because that requires saving a new copy of the image.