balena-cli/lib/resin/os/os.coffee

8 lines
211 B
CoffeeScript
Raw Normal View History

2014-12-02 15:28:49 +00:00
exports.generateCacheName = (id, connectionParams) ->
result = "#{id}-#{connectionParams.network}"
if connectionParams.wifiSsid?
result += "-#{connectionParams.wifiSsid}"
return "#{result}-#{Date.now()}"