Skip to main content

Module specs

Module specs 

Source
Expand description

Reading a task’s specs through get_exercise: /tasks/<task id>/specs[/<kind>[/<pointer>]].

Structs§

SpecPath
A path into a task’s specs.
TaskSpecs
A task’s specs in one state of the course.

Enums§

SpecKind
One of a task’s specs.

Constants§

AUTHORITY 🔒
DERIVED_AT_PUBLISH 🔒

Functions§

load_task_specs
The specs of the exercise’s tasks in read_state, by task id. page is the page holding the exercise in that state.
parse_spec_path
The spec path path names; None if it isn’t one, an error if it is a malformed one.
read_specs
The read of a spec path, or an error naming smaller paths when it is over budget_bytes.