MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / getTag

Function getTag

packages/ast/preprocess/index.js:5–13  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

3const walk = require('../walk');
4
5function getTag(type) {
6 switch (type) {
7 case 'user':
8 return '@';
9 case 'signal':
10 return '!';
11 }
12 return '';
13}
14
15const preprocess = (message, allUsers) => {
16 const tree = parse.linen(message);

Callers 1

preprocessFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected