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

refactor: improve file condition and add prefix check in file handling #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Dec 18, 2023

  1. refactor: improve file condition and add prefix check in file handling

    - In `file.go`, the condition `if !fi.IsDir()` was changed to `if fi != nil && !fi.IsDir()`
    - The check `strings.HasPrefix(filepath.Base(path), filepath.Base(l.filename))` was added to the same if statement in `file.go`
    
    Signed-off-by: ysicing <[email protected]>
    ysicing committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    2999e5d View commit details
    Browse the repository at this point in the history