/
isStorageConnected()

isStorageConnected()

The pods:isStorageConnected() function has no parameters and returns a boolean. The boolean is true if a pod’s information is stored, such as immediately after running pods:connectStorage(). The boolean returns false if a pod’s information is not stored, such as immediately after running pods:disconnectStorage().

Related content

pods:disconnectStorage()
pods:disconnectStorage()
More like this
pods:connectStorage(storageURL, clientID, clientSecret, tokenURL)
pods:connectStorage(storageURL, clientID, clientSecret, tokenURL)
More like this
authenticate()
authenticate()
More like this
store(originURL, destinationURL, doAutoAuth = true)
store(originURL, destinationURL, doAutoAuth = true)
More like this
findFile(fileName, doAutoAuth = true)
findFile(fileName, doAutoAuth = true)
More like this
fetch(fileURL, doAutoAuth = true)
fetch(fileURL, doAutoAuth = true)
More like this

Copyright Picolabs | Licensed under Creative Commons.