Module: lib/git

Module contains various functions in order to edit solution before submitting

Source:
Source:

Methods

(inner) createRepo() → {null}

Function to create a new repository
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) createRepo() → {null}

Function to create a new repository
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) deleteRepo() → {null}

Function to delete Repository
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) deleteRepo() → {null}

Function to delete Repository
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) push() → {null}

Function to push the commits made
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) push() → {null}

Function to push the commits made
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) validate(string) → {bool|string}

Checks if the length of the entered string is greater than zero
Parameters:
Name Type Description
string value string entered by user on prompt
Source:
Returns:
  • True if the length of string entered is greater than zero
    Type
    bool
  • string prompting user to input Lab no. if length of username entered was null
    Type
    string

(inner) validate(string) → {bool|string}

Checks if the length of the entered string is greater than zero
Parameters:
Name Type Description
string value string entered by user on prompt
Source:
Returns:
  • True if the length of string entered is greater than zero
    Type
    bool
  • string prompting user to input Lab no. if length of username entered was null
    Type
    string

Module contains various functions in order to edit solution before submitting

Source:
Source:

Methods

(inner) createRepo() → {null}

Function to create a new repository
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) createRepo() → {null}

Function to create a new repository
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) deleteRepo() → {null}

Function to delete Repository
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) deleteRepo() → {null}

Function to delete Repository
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) push() → {null}

Function to push the commits made
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) push() → {null}

Function to push the commits made
Parameters:
Type Description
null
Source:
Returns:
Type
null

(inner) validate(string) → {bool|string}

Checks if the length of the entered string is greater than zero
Parameters:
Name Type Description
string value string entered by user on prompt
Source:
Returns:
  • True if the length of string entered is greater than zero
    Type
    bool
  • string prompting user to input Lab no. if length of username entered was null
    Type
    string

(inner) validate(string) → {bool|string}

Checks if the length of the entered string is greater than zero
Parameters:
Name Type Description
string value string entered by user on prompt
Source:
Returns:
  • True if the length of string entered is greater than zero
    Type
    bool
  • string prompting user to input Lab no. if length of username entered was null
    Type
    string