Closed joladev closed 9 years ago
I agree it needs more documentation. However I think the name is good because the usage is:
checkFile('in', url).then(...
ie. I think it reads fine when used. But more doc solves that, yes?
All right, I'll make it so:
sputils.list.files.checkIn(url) // => Promise;
sputils.list.files.checkOut(url) // => Promise;
Needs documentation and better variable names (checkFile also not great name)
https://github.com/BoolNordicAB/sharepoint-utilities/blob/master/src/sputils.list.js#L57