@openai/agents-core
Version:
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.
8 lines (7 loc) • 521 B
TypeScript
export declare function hasBackslashPathSeparator(path: string): boolean;
export declare function hasParentPathSegment(path: string): boolean;
export declare function hasEscapingParentPathSegment(path: string): boolean;
export declare function normalizePosixPath(path: string): string;
export declare function posixDirname(path: string): string;
export declare function isUnderPosixPath(path: string, root: string): boolean;
export declare function relativePosixPathWithinRoot(root: string, path: string): string | null;