From c754b73b71f4cfe4347ee81124cf83fa35dc9d7f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Nov 2013 14:34:21 -0800 Subject: [PATCH] :memo: Doc what paths are returned --- src/atom.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/atom.coffee b/src/atom.coffee index 04d998ff7..29c77d864 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -344,10 +344,14 @@ class Atom app.getVersion() # Public: Get the directory path to Atom's configuration area. + # + # Returns the absolute path to ~/.atom getConfigDirPath: -> @configDirPath ?= fs.absolute('~/.atom') # Public: Get the directory path to Atom's storage area. + # + # Returns the absoluste path to ~/.atom/storage getStorageDirPath: -> @storageDirPath ?= path.join(@getConfigDirPath(), 'storage')