mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Add getter for config directory path
This commit is contained in:
@@ -117,6 +117,9 @@ class Config
|
||||
_.extend hash, defaults
|
||||
@update()
|
||||
|
||||
# Public: Get the path to this config's directory.
|
||||
getDirectoryPath: -> @configDirPath
|
||||
|
||||
# Public: Returns a new {Object} containing all of settings and defaults.
|
||||
getSettings: ->
|
||||
_.deepExtend(@settings, @defaultSettings)
|
||||
|
||||
Reference in New Issue
Block a user