github / github/copilot-sdk

Read permission request kind needs better clarification between directory and file reads

未关闭
#1,205 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Java
星标
10.5k
派生
1.5k
平均合并
1 天 14 小时
30 天内合并 PR
129

描述

If my working directory, contains a "." in the name there is not a clear way to distinguish between file and directory reads.

For example, I can get requests like this:

Kind: read
Path: q:\src\workspace.net

In this case path is a directory but also looks like a file name. It would be nice if all directory paths always ended with path separator to clarify.

贡献指南

打开贡献指南

调研方向

首先定位读取权限请求的处理逻辑,以及格式化其 Path 值的代码。更新目录路径,使其包含路径分隔符,同时保留文件路径不变,然后验证请求是否按描述区分目录读取和文件读取。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
authorization
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
58/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。