Open KH9IZ opened 2 years ago
Main idea is that there could be various ways to store data, from web-server to JSON file
All interaction with store object should happen under context block, that gives store object correctly open and close file/connection.
get_tree(tid=0) -> Task
save_tree(Task)
Module for saving & loading data
Main idea is that there could be various ways to store data, from web-server to JSON file
All interaction with store object should happen under context block, that gives store object correctly open and close file/connection.
Store interface:
get_tree(tid=0) -> Task
- function loads all tree under tid=0 and returns rootsave_tree(Task)
- saves all tasks under provided Task. All previous data erasing!