DEEZ API - Philip-Otter/Deez---PackageManger GitHub Wiki

You can provide instructions to Deez using the API calls listed here.

deleteFile(string _filePath)

Parameters

  • _filePath
    • type: string

Return Value

  • integer
    • -1 (failure) or 0 (success)

Examples

# From inside a .nut file
...
<install>
    <api call="deleteFile">C:/Temp/foo.bar</api>
</install>
...

makeDirectory(string _filePath)

Parameters

  • _filePath
    • type: string

Return Value

  • integer
    • -1 (failure) or 0 (success)

Examples

# From inside a .nut file
...
<install>
    <api call="makeDirectory">C:/Temp/foo</api>
</install>
...

removeDirectory(string _directoryPath)

Parameters

  • _directoryPath
    • type: string

Return Value

  • integer
    • -1 (failure) or 0 (success)

Examples

# From inside a .nut file
...
<install>
    <api call="removeDirectory">C:/Temp/foo</api>
</install>
...
⚠️ **GitHub.com Fallback** ⚠️