We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4712d97 commit 72dee83Copy full SHA for 72dee83
http/server/FileCache.h
@@ -36,6 +36,7 @@ typedef struct file_cache_s {
36
}
37
38
bool is_complete() {
39
+ if(S_ISDIR(st.st_mode)) return filebuf.len > 0;
40
return filebuf.len == st.st_size;
41
42
0 commit comments