Module unicorn.util
¶
Index¶
Function
Api reference¶
-
unicorn.util.install(package_name:
any
)¶
-
unicorn.util.smartHttp(url:
string
):boolean
,unknown
|nil
¶ - Parameters:
url (
string
) – A valid HTTP or HTTPS URL.
-
unicorn.util.fileWrite(content:
string
, path:string
):boolean
¶ - Parameters:
content (
string
) – The contents of the file to be written.path (
string
) – The full path of the file to be written.