mirror of
https://github.com/atom/atom.git
synced 2026-02-14 16:45:14 -05:00
@@ -1,3 +1,5 @@
|
||||
$ = require 'jquery'
|
||||
|
||||
module.exports =
|
||||
class Git
|
||||
|
||||
@@ -15,6 +17,9 @@ class Git
|
||||
|
||||
constructor: (path) ->
|
||||
@repo = new GitRepository(path)
|
||||
$(window).on 'focus', => @refreshIndex()
|
||||
|
||||
refreshIndex: -> @repo.refreshIndex()
|
||||
|
||||
getPath: -> @repo.getPath()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user