Documentation ¶
Index ¶
- func CreateMockCliConfigDirectories(t *testing.T) (string, string)
- func CreateMockObsidianConfigFile(t *testing.T) string
- type MockFileInfo
- type MockFuzzyFinder
- type MockNoteManager
- func (m *MockNoteManager) Delete(string) error
- func (m *MockNoteManager) GetContents(string, string) (string, error)
- func (m *MockNoteManager) GetNotesList(string) ([]string, error)
- func (m *MockNoteManager) Move(string, string) error
- func (m *MockNoteManager) UpdateLinks(string, string, string) error
- type MockUriManager
- type MockVaultOperator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockFileInfo ¶
func (*MockFileInfo) IsDir ¶
func (fi *MockFileInfo) IsDir() bool
func (*MockFileInfo) ModTime ¶
func (fi *MockFileInfo) ModTime() time.Time
func (*MockFileInfo) Mode ¶
func (fi *MockFileInfo) Mode() os.FileMode
func (*MockFileInfo) Name ¶
func (fi *MockFileInfo) Name() string
func (*MockFileInfo) Size ¶
func (fi *MockFileInfo) Size() int64
func (*MockFileInfo) Sys ¶
func (fi *MockFileInfo) Sys() interface{}
type MockFuzzyFinder ¶ added in v0.1.8
type MockNoteManager ¶
type MockNoteManager struct { DeleteErr error MoveErr error UpdateLinksError error GetContentsError error }
func (*MockNoteManager) Delete ¶
func (m *MockNoteManager) Delete(string) error
func (*MockNoteManager) GetContents ¶ added in v0.1.8
func (m *MockNoteManager) GetContents(string, string) (string, error)
func (*MockNoteManager) GetNotesList ¶ added in v0.1.8
func (m *MockNoteManager) GetNotesList(string) ([]string, error)
func (*MockNoteManager) UpdateLinks ¶
func (m *MockNoteManager) UpdateLinks(string, string, string) error
type MockUriManager ¶
func (*MockUriManager) Construct ¶
func (m *MockUriManager) Construct(base string, params map[string]string) string
func (*MockUriManager) Execute ¶
func (m *MockUriManager) Execute(uri string) error
type MockVaultOperator ¶
func (*MockVaultOperator) DefaultName ¶
func (m *MockVaultOperator) DefaultName() (string, error)
func (*MockVaultOperator) Path ¶
func (m *MockVaultOperator) Path() (string, error)
func (*MockVaultOperator) SetDefaultName ¶
func (m *MockVaultOperator) SetDefaultName(_ string) error
Click to show internal directories.
Click to hide internal directories.