What was the purpose of the Digesta?

to determine the food laws of the Byzantine Empire
to establish legal training documents
to explain the findings of legal cases to set precedents in court
to help Justinian establish law for a thousand-year reign.