Skip to content

docs(filepicker): correct godoc comment for DirAllowed function - #681

Merged
andreynering merged 1 commit into
charmbracelet:mainfrom
mohammedyh:patch-1
Aug 11, 2025
Merged

andreynering merged 1 commit into
charmbracelet:mainfrom
mohammedyh:patch-1

Conversation

@mohammedyh

Copy link
Copy Markdown
Contributor

Describe your changes

The comment for the DirAllowed function incorrectly stated that it controlled whether files could be selected.

This function controls whether directories can be selected. This change corrects the comment to prevent confusion.

Related issue/discussion: None

Checklist before requesting a review

If this is a feature

  • I have created a discussion
  • A project maintainer has approved this feature request. Link to comment:

@mohammedyh
mohammedyh requested a review from a team as a code owner August 8, 2025 21:50
@mohammedyh
mohammedyh requested review from raphamorim and removed request for a team August 8, 2025 21:50
@mohammedyh mohammedyh changed the title docs(filepicker): correct comment for DirAllowed function docs(filepicker): correct godoc comment for DirAllowed function Aug 9, 2025
@andreynering andreynering added the documentation Improvements or additions to documentation label Aug 11, 2025
@andreynering

Copy link
Copy Markdown
Member

Thank you @mohammedyh!

@andreynering
andreynering merged commit 95b882d into charmbracelet:main Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

⌂ 换网址