Skip to content

clm: fix path handling for single files; and cleanup os.IsNotExist() usage - #475

Merged
cbarbian-sap merged 1 commit into
mainfrom
clm-fixes
Jul 24, 2026
Merged

clm: fix path handling for single files; and cleanup os.IsNotExist() usage#475
cbarbian-sap merged 1 commit into
mainfrom
clm-fixes

Conversation

@cbarbian-sap

@cbarbian-sap cbarbian-sap commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Two changes in here:

  • Fix path handling in case a provided source is a (single) file.
  • According to https://pkg.go.dev/os#IsNotExist, errors.Is(err, fs.ErrNotExist) should be used instead.

@cbarbian-sap cbarbian-sap changed the title clm: fix path handling for single files; and cleanup os.IsNotExist(er… clm: fix path handling for single files; and cleanup os.IsNotExist() usage Jul 23, 2026
@cbarbian-sap
cbarbian-sap merged commit 3d11d1e into main Jul 24, 2026
8 checks passed
@cbarbian-sap
cbarbian-sap deleted the clm-fixes branch July 24, 2026 06:42
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.

2 participants