syncthing / syncthing

Confusing naming of struct fields or methods RVV-B0001
Bug risk
Minor
2 occurrences in this check
Method 'testFakeFSCaseInsensitive' differs only by capitalization to function 'TestFakeFSCaseInsensitive' in the same source file
296	}
297}
298
299func testFakeFSCaseInsensitive(t *testing.T, fs Filesystem) {300	bs1 := []byte("test")
301
302	err := fs.Mkdir("/fUbar", 0755)
Method 'Create' differs only by capitalization to method 'create' in the same source file
299	return new, nil
300}
301
302func (fs *fakeFS) Create(name string) (File, error) {303	entry, err := fs.create(name)
304	if err != nil {
305		return nil, err