Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readtags: refactor for searching multiple tag files #4074

Conversation

masatake
Copy link
Member

No description provided.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
The original code called findTag or listTags directly in the process
of command line parsing. This change introduces new data structure
named actionSpec. During parsing command line, readtags builds an
actionSpec. After parsing readtags takes an action based on the
actionSpec.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…putSpec

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
… the canonWorkArea

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 89.79592% with 10 lines in your changes missing coverage. Please review.

Project coverage is 85.60%. Comparing base (5039ab9) to head (97e2489).
Report is 14 commits behind head on master.

Files with missing lines Patch % Lines
extra-cmds/readtags-cmd.c 89.79% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4074      +/-   ##
==========================================
+ Coverage   85.51%   85.60%   +0.08%     
==========================================
  Files         237      237              
  Lines       57030    57066      +36     
==========================================
+ Hits        48769    48849      +80     
+ Misses       8261     8217      -44     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@masatake
Copy link
Member Author

I should add more test cases.

@masatake masatake force-pushed the readtags-refactor-for-searching-multiple-tag-files branch 2 times, most recently from 37e7456 to e86284f Compare September 14, 2024 08:36
…ing tag file

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
@masatake masatake force-pushed the readtags-refactor-for-searching-multiple-tag-files branch from e86284f to c848373 Compare September 14, 2024 08:54
…ng actions

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
@masatake masatake merged commit 40b5861 into universal-ctags:master Sep 14, 2024
69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant