mirror of
https://github.com/luxfi/lpm.git
synced 2026-10-30 16:20:57 +00:00
Lux Partners Limited is the Isle of Man company. Lux Industries Inc, a Delaware C corporation, is the company these sites belong to, so it is the one they name — in metadata, copyright, and the press items that record who signed. The fund site names Lux Assets Management LLC, which is its own company. Two sentences were rewritten rather than renamed, because a name was doing work a name cannot do. One claimed an Isle of Man domicile the naming entity does not have. The other said a company acts on behalf of another; with one entity left it said a company acts on behalf of itself. The Isle of Man stays everywhere it is a JURISDICTION the product supports — the regulatory package, the jurisdiction guides, the compliance tables. Only this company's own identity changed.
71 lines
2.3 KiB
Go
71 lines
2.3 KiB
Go
// Copyright (C) 2019-2025, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
//
|
|
|
|
// Code generated by MockGen. DO NOT EDIT.
|
|
// Source: git/factory.go
|
|
|
|
// Package git is a generated GoMock package.
|
|
package git
|
|
|
|
import (
|
|
reflect "reflect"
|
|
|
|
plumbing "github.com/go-git/go-git/v5/plumbing"
|
|
http "github.com/go-git/go-git/v5/plumbing/transport/http"
|
|
gomock "github.com/golang/mock/gomock"
|
|
)
|
|
|
|
// MockFactory is a mock of Factory interface.
|
|
type MockFactory struct {
|
|
ctrl *gomock.Controller
|
|
recorder *MockFactoryMockRecorder
|
|
}
|
|
|
|
// MockFactoryMockRecorder is the mock recorder for MockFactory.
|
|
type MockFactoryMockRecorder struct {
|
|
mock *MockFactory
|
|
}
|
|
|
|
// NewMockFactory creates a new mock instance.
|
|
func NewMockFactory(ctrl *gomock.Controller) *MockFactory {
|
|
mock := &MockFactory{ctrl: ctrl}
|
|
mock.recorder = &MockFactoryMockRecorder{mock}
|
|
return mock
|
|
}
|
|
|
|
// EXPECT returns an object that allows the caller to indicate expected use.
|
|
func (m *MockFactory) EXPECT() *MockFactoryMockRecorder {
|
|
return m.recorder
|
|
}
|
|
|
|
// GetLastModified mocks base method.
|
|
func (m *MockFactory) GetLastModified(repoPath, filePath string) (string, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "GetLastModified", repoPath, filePath)
|
|
ret0, _ := ret[0].(string)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// GetLastModified indicates an expected call of GetLastModified.
|
|
func (mr *MockFactoryMockRecorder) GetLastModified(repoPath, filePath interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLastModified", reflect.TypeOf((*MockFactory)(nil).GetLastModified), repoPath, filePath)
|
|
}
|
|
|
|
// GetRepository mocks base method.
|
|
func (m *MockFactory) GetRepository(url, path string, reference plumbing.ReferenceName, auth *http.BasicAuth) (string, error) {
|
|
m.ctrl.T.Helper()
|
|
ret := m.ctrl.Call(m, "GetRepository", url, path, reference, auth)
|
|
ret0, _ := ret[0].(string)
|
|
ret1, _ := ret[1].(error)
|
|
return ret0, ret1
|
|
}
|
|
|
|
// GetRepository indicates an expected call of GetRepository.
|
|
func (mr *MockFactoryMockRecorder) GetRepository(url, path, reference, auth interface{}) *gomock.Call {
|
|
mr.mock.ctrl.T.Helper()
|
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRepository", reflect.TypeOf((*MockFactory)(nil).GetRepository), url, path, reference, auth)
|
|
}
|