Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newWatchFileThatDoesNotExist (0.34 sec)

  1. pkg/filewatcher/filewatcher_test.go

    	watchDir := t.TempDir()
    	watchFile := path.Join(watchDir, "test.conf")
    	err := os.WriteFile(watchFile, []byte("foo: bar\n"), 0o640)
    	g.Expect(err).NotTo(HaveOccurred())
    
    	return watchFile
    }
    
    func newWatchFileThatDoesNotExist(t *testing.T) string {
    	watchDir := t.TempDir()
    
    	watchFile := path.Join(watchDir, "test.conf")
    
    	return watchFile
    }
    
    // newTwoWatchFile returns with two watch files that exist in the same base dir.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top