5 references to IsInDirectory
aspire (5)
Agents\AgentInstructionsFile.cs (2)
136return candidates is [var appHost] && IsInDirectory(appHost.FullName, directory) ? appHost.FullName : null; 223if (!IsInDirectory(linkTarget.FullName, directory))
Commands\AgentInitCommand.cs (3)
868if (AgentInstructionsFile.IsInDirectory(workingDirectory.FullName, workspaceRoot)) 874if (appHost is not null && AgentInstructionsFile.IsInDirectory(appHost.FullName, workspaceRoot)) 891return workspaceAppHost is not null && AgentInstructionsFile.IsInDirectory(workspaceAppHost.FullName, workspaceRoot)