LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Types
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
  • Vitest
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsbrowserGlobResult
Interface●Since v1.10

GlobResult

Structured result from backend glob operations.

Copy
interface GlobResult

Properties

View source on GitHub
property
error: string
property
files: FileInfo[]
property
truncated: boolean

Error message on failure, undefined on success

List of FileInfo objects matching the pattern. Populated on success and, when the walk was cut short, with whatever was found before stopping. Undefined only on a hard failure.

True when the walk stopped early (e.g. hit a time or count limit) and files is therefore incomplete but still valid.