This function will generate an object store that will contain and update a lesson object based on the status of the git repository
Value
a list with four functions that operate on a supplied path string
get()
returns.this_lesson
(as described inthis_lesson()
)set(path)
sets.this_lesson
and its git statuses from the lesson inpath
. This also setsset_globals()
andset_resource_list()
.valid(path)
usespath
to validate if a lesson is identical to the stored lesson from its git status. ReturnsTRUE
if it is identical andFALSE
if it is notclear()
resets all global variables.
See also
.list_store()
for a generic list implementation and
this_lesson()
for details of the implementation of this generator in
sandpaper