export const SRC_RAIZ = 'src';
export const SRC_GLOB = 'src/**';
export const META_DIRS = ['.github', '.vscode', '.tutanus'];
export function toPosix(caminho) {
    return String(caminho || '').replace(/\\+/g, '/');
}
export function isInsideSrc(relPath) {
    const raiz = toPosix(relPath);
    return /(?:^|\/)(?:src|source|codigo)(?:\/|$)/i.test(raiz);
}
export function isMetaPath(relPath) {
    const raiz = toPosix(relPath);
    if (META_DIRS.some(diretorio => raiz === diretorio || raiz.startsWith(`${diretorio}/`)))
        return true;
    return !isInsideSrc(raiz);
}
//# sourceMappingURL=paths.js.map