new Project(name, user, del, compile, getInformation)
Creates a Project object.
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | name of the project |
user |
string | owner of the project |
del |
function | function to delete the project |
compile |
function | function to compile the project |
getInformation |
function | function to get project information |
Members
name :string
name of the project
Type:
- string
user :string
owner of the project
Type:
- string
Methods
compile() → {Promise.<{stdout: string, stderr: string}, error>}
Compiles the project.
Returns:
- Type
- Promise.<{stdout: string, stderr: string}, error>
delete() → {Promise.<void, error>}
Deletes the project.
Returns:
- Type
- Promise.<void, error>
getInformation() → {Promise.<ProjectInfo, error>}
Gets information about the project.
Returns:
- Type
- Promise.<ProjectInfo, error>