MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / selectTag

Function selectTag

frontend/src/hooks/useInstanceTag.ts:79–82  ·  view source on GitHub ↗
(tag: string)

Source from the content-addressed store, hash-verified

77 let searchFn: Function = () => {};
78
79 const selectTag = (tag: string) => {
80 tags.value.push(tag);
81 searchFn();
82 };
83
84 const removeTag = (tag: string) => {
85 tags.value = tags.value.filter((v) => v !== tag);

Callers

nothing calls this directly

Calls 2

searchFnFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected