368 B
368 B
Code Design
Code Organization
-
Every function except
main.tsshould be pure. Pass any stateful information in parameters. -
misc.tsshould not depend on any other written code. -
Each storage code should not depend on
sync.ts.
File and Folder Representation
While writing sync codes, folders are always represented by a string ending with /.