dot-lesson_store: Internal Global Lesson Storage Generator

.lesson_storeR Documentation

Internal Global Lesson Storage Generator

Description

This function will generate an object store that will contain and update a lesson object based on the status of the git repository

Usage

.lesson_store()

Value

a list with four functions that operate on a supplied path string

  • get() returns .this_lesson (as described in this_lesson())

  • set(path) sets .this_lesson and its git statuses from the lesson in path. This also sets set_globals() and set_resource_list().

  • valid(path) uses path to validate if a lesson is identical to the stored lesson from its git status. Returns TRUE if it is identical and FALSE if it is not

  • clear() 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


zkamvar/sandpaper documentation built on April 15, 2024, 5:32 p.m.