* fix: only check the fragment when it's a file * add dir fragment test * Clean up unused fragment_check in Client --------- Signed-off-by: Keming <kemingy94@gmail.com> Co-authored-by: Matthias <matthias@endler.dev>