_should_mount_workspace() — langchain Function Reference
Architecture documentation for the _should_mount_workspace() function in _execution.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 73ea7e95_02e6_bd8d_5b08_873ffdee5093["_should_mount_workspace()"] 3ead6362_15e4_31b5_852b_83ad2c63fa17["DockerExecutionPolicy"] 73ea7e95_02e6_bd8d_5b08_873ffdee5093 -->|defined in| 3ead6362_15e4_31b5_852b_83ad2c63fa17 0ca39ab6_f475_3199_9fda_998b3047cb82["_build_command()"] 0ca39ab6_f475_3199_9fda_998b3047cb82 -->|calls| 73ea7e95_02e6_bd8d_5b08_873ffdee5093 style 73ea7e95_02e6_bd8d_5b08_873ffdee5093 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain_v1/langchain/agents/middleware/_execution.py lines 366–367
def _should_mount_workspace(workspace: Path) -> bool:
return not workspace.name.startswith(SHELL_TEMP_PREFIX)
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _should_mount_workspace() do?
_should_mount_workspace() is a function in the langchain codebase, defined in libs/langchain_v1/langchain/agents/middleware/_execution.py.
Where is _should_mount_workspace() defined?
_should_mount_workspace() is defined in libs/langchain_v1/langchain/agents/middleware/_execution.py at line 366.
What calls _should_mount_workspace()?
_should_mount_workspace() is called by 1 function(s): _build_command.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free