MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / active_file_directory

Method active_file_directory

test/MockEditorInterface.cpp:382–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382std::wstring MockEditorInterface::active_file_directory() const {
383 auto doc = active_document();
384 if (!doc)
385 return L"";
386 return std::filesystem::path(doc->path).parent_path();
387}
388
389std::wstring MockEditorInterface::plugin_config_dir() const { return L""; }
390

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected