Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

einige Melodien

Quelle  import-boundary.test-helpers.ts  Sprache: unbekannt

 
import fs from "node:fs/promises";
import path from "node:path";

const TASK_ROOT = path.resolve(import.meta.dirname);

export const TASK_BOUNDARY_SRC_ROOT = path.resolve(TASK_ROOT, "..");

export function toTaskBoundaryRelativePath(file: string, root = TASK_BOUNDARY_SRC_ROOT): string {
  return path.relative(root, file).replaceAll(path.sep, "/");
}

export async function listTaskBoundarySourceFiles(
  root = TASK_BOUNDARY_SRC_ROOT,
): Promise<string[]> {
  const entries = await fs.readdir(root, { withFileTypes: true });
  const files: string[] = [];
  for (const entry of entries) {
    const fullPath = path.join(root, entry.name);
    if (entry.isDirectory()) {
      files.push(...(await listTaskBoundarySourceFiles(fullPath)));
      continue;
    }
    if (!entry.isFile() || !entry.name.endsWith(".ts") || entry.name.endsWith(".test.ts")) {
      continue;
    }
    files.push(fullPath);
  }
  return files;
}

export async function readTaskBoundarySource(file: string): Promise<string> {
  return fs.readFile(file, "utf8");
}

Messung V0.5 in Prozent
C=97 H=100 G=98

[Dauer der Verarbeitung: 0.10 Sekunden, vorverarbeitet 2026-09-27]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126864
#Domains=1897691