📝 Mention that atom.project.getRepo() might be unavailable

This commit is contained in:
Kevin Sawicki
2014-01-21 17:45:32 -08:00
parent e9c296968d
commit 1d9bca12e0

View File

@@ -7,7 +7,8 @@ GitUtils = require 'git-utils'
# Public: Represents the underlying git operations performed by Atom.
#
# This class shouldn't be instantiated directly but instead by accessing the
# `atom.project` global and calling `getRepo()`.
# `atom.project` global and calling `getRepo()`. Note that this will only be
# available when the project is backed by a Git repository.
#
# ## Example
#