MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / onCopyPressed

Method onCopyPressed

Tactility/Source/app/files/View.cpp:717–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715}
716
717void View::onCopyPressed() {
718 std::string path = state->getSelectedChildPath();
719 state->setClipboard(path, false);
720 LOGGER.info("Copied to clipboard: {}", path);
721 onNavigate();
722 update();
723}
724
725void View::onCutPressed() {
726 std::string path = state->getSelectedChildPath();

Callers 1

onCopyPressedCallbackFunction · 0.80

Calls 3

setClipboardMethod · 0.80
infoMethod · 0.80
getSelectedChildPathMethod · 0.45

Tested by

no test coverage detected