1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 00:15:32 +02:00

rename function

This commit is contained in:
Jesse Duffield
2022-12-28 14:19:56 +11:00
parent 5e9a897348
commit f770a6246b
3 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ func (self *FileSystem) PathNotPresent(path string) {
}
// Asserts that the file at the given path has the given content
func (self *FileSystem) FileContainsContent(path string, matcher *matcher) {
func (self *FileSystem) FileContent(path string, matcher *matcher) {
self.assertWithRetries(func() (bool, string) {
_, err := os.Stat(path)
if os.IsNotExist(err) {