File: data-prefix.coffee

Defined in: lib/resin/data

Method Summary

Method Details

~ (String) get()

Get current prefix

prefix = resin.data.prefix.get()

Returns:

  • ( String ) — prefix

~ (void) set(newPrefix, callback)

Set prefix

resin.data.prefix.set '/opt/resin', (error) ->    throw error if error?

Parameters:

  • newPrefix ( String ) new prefix
  • callback ( Function ) callback (error)

Throws:

  • ( Error ) — Will throw if prefix is not a valid path

~ (void) clear()

Clear prefix

resin.data.prefix.clear()

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: