googleinterns / filesystem-in-appsscript

Apache License 2.0
5 stars 1 forks source link

[Review - 1] FileSystem: Init Folder and File Structures #45

Closed satviksr closed 4 years ago

satviksr commented 4 years ago

Implement the main File System structures.

Some APIs are very similar in file and folder. Therefore created VbaFileSystemEntity as the base class for VbaFile and VbaFolder. Objects of VbaFile and VbaFolder are not to be instantiated by the user. They should be instantiated only by the FileSystem class.

Documentation can be found here: https://github.com/googleinterns/filesystem-in-appsscript/blob/master/docs/FileSystem.md

Implemented Properties for File and Folder:

Testing:

todo[bot] commented 4 years ago

VbaFolder.getFiles - Return VbaCollection of files

https://github.com/googleinterns/filesystem-in-appsscript/blob/d8aeef2609831ef73ef1ed4cae2ef43b5073f285/FileSystem/VbaFileSystemClasses.js#L173-L178


This comment was generated by todo based on a todo comment in d8aeef2609831ef73ef1ed4cae2ef43b5073f285 in #45. cc @googleinterns.
todo[bot] commented 4 years ago

VbaFolder.getSubFolders - Return VbaCollection of folders

https://github.com/googleinterns/filesystem-in-appsscript/blob/d8aeef2609831ef73ef1ed4cae2ef43b5073f285/FileSystem/VbaFileSystemClasses.js#L189-L194


This comment was generated by todo based on a todo comment in d8aeef2609831ef73ef1ed4cae2ef43b5073f285 in #45. cc @googleinterns.