func()

in filemanager/filemanager.go [109:116]


func (fm *FileManager) ResetChanges() *Error {
	fm.Lock()
	defer fm.Unlock()

	// We reset the repository to HEAD, unstaging any
	// changes in the cache
	return fm.runGitResetHard()
}