Helpers
coursemgmt.Helpers
object Helpers
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Helpers.type
Members list
Type members
Classlikes
final case class ExercisesMetadata(exercisePrefix: String, exercises: Vector[String], exerciseNumbers: Vector[Int])
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
def addFirstExercise(cleanedMainRepo: File, firstExercise: String, studentifiedRootFolder: File)(config: CMTaConfig): Unit
def checkpreExistingAndCreateArtifactRepo(artifactBaseDirectory: File, artifactRootFolder: File, forceDeleteDestinationDirectory: Boolean): Either[CmtError, String]
def exerciseFileHasBeenModified(activeExerciseFolder: File, file: String, fileMetadata: Map[String, FileMetadata]): Boolean
Value parameters
- Path
-
to either the root of a studentified repo or any subfolder in such repo
Attributes
- Returns
-
The root folder of the studentified repo or an error message in case the passed-in fodler wasn't pointing to a studentified repo.
def getFilesToCopyAndDelete(currentExerciseId: String, toExerciseId: String, config: CMTcConfig): (Set[String], Set[String], Set[String])
def hideExercises(cleanedMainRepo: File, solutionsFolder: File, exercises: Vector[String])(config: CMTaConfig): Unit
def pullTestCode(toExerciseId: String, activeExerciseFolder: File, filesToBeDeleted: Set[String], filesToBeCopied: Set[String], config: CMTcConfig): Either[CmtError, String]
def withZipFile(solutionsFolder: File, exerciseID: String)(code: File => Either[CmtError, String]): Either[CmtError, String]
def writeCodeMetadata(cleanedMainRepo: File, exercises: Vector[String], studentifiedRootFolder: File, cmtaConfig: CMTaConfig): Unit
def writeStudentifiedCMTConfig(configFile: File, exercises: Seq[String])(config: CMTaConfig, generatorInfo: GeneratorInfo): Unit
def writeTestReadmeCodeMetadata(cleanedMainRepo: File, exercises: Vector[String], studentifiedRootFolder: File, cmtaConfig: CMTaConfig): Unit
def zipAndDeleteOriginal(baseFolder: File, zipToFolder: File, exercise: String, time: Option[Long]): Unit
Concrete fields
Extensions
Extensions
extension (f: File)
In this article