mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
📝 Mention that atom.project.getRepo() might be unavailable
This commit is contained in:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user