@openai/agents-core
Version:
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.
19 lines • 589 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isDir = isDir;
exports.isGitRepo = isGitRepo;
exports.isMount = isMount;
exports.isDirectoryLikeEntry = isDirectoryLikeEntry;
function isDir(entry) {
return entry.type === 'dir';
}
function isGitRepo(entry) {
return entry.type === 'git_repo';
}
function isMount(entry) {
return entry.type === 'mount' || entry.type.endsWith('_mount');
}
function isDirectoryLikeEntry(entry) {
return entry.type === 'dir' || entry.type === 'git_repo' || isMount(entry);
}
//# sourceMappingURL=guards.js.map