Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Java/Openclaw/src/media/   (Openclaw AI Version 22©)  Datei vom 26.3.2026 mit Größe 725 B image not shown  

Quelle  server.runtime.ts

  Sprache: JAVA
 

import { readFileWithinRoot as readFileWithinRootImpl, SafeOpenError } from "../infra/fs-safe.js";
import {
  cleanOldMedia as cleanOldMediaImpl,
  getMediaDir as getMediaDirImpl,
  MEDIA_MAX_BYTES,
} from "./store.js";

export type SafeOpenLikeError = {
  code:
    | "invalid-path"
    | "not-found"
    | "outside-workspace"
    | "symlink"
    | "not-file"
    | "path-mismatch"
    | "too-large";
  message: string;
};

export const readFileWithinRoot = readFileWithinRootImpl;
export const cleanOldMedia = cleanOldMediaImpl;
export const getMediaDir = getMediaDirImpl;
export { MEDIA_MAX_BYTES };

export function isSafeOpenError(error: unknown): error is SafeOpenLikeError {
  return error instanceof SafeOpenError;
}

Messung V0.5 in Prozent
C=99 H=97 G=97

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.