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

Open
#1,205 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java
Domain
authorization

Research direction

Start by locating the read permission request handling and the code that formats its Path value. Update directory paths to include a path separator while preserving file paths, then verify that requests distinguish directory and file reads as described.

Written by the indexing model from the issue text.

Description

enhancement

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.

Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 12h
Merged PRs (30d)
133

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/copilot-sdk

All issues in github/copilot-sdk

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.