rexyai / RestRserve

R web API framework for building high-performance microservices and app backends
https://restrserve.org
275 stars 32 forks source link

Refactor multipart body parser #153

Closed artemklevtsov closed 4 years ago

artemklevtsov commented 4 years ago

Small refactor to simplify code.

codecov[bot] commented 4 years ago

Codecov Report

Merging #153 into dev will increase coverage by 0.07%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #153      +/-   ##
==========================================
+ Coverage   94.90%   94.98%   +0.07%     
==========================================
  Files          27       27              
  Lines        1275     1275              
==========================================
+ Hits         1210     1211       +1     
+ Misses         65       64       -1     
Impacted Files Coverage Δ
R/Application.R 96.71% <ø> (ø)
src/parse_multipart.cpp 98.78% <100.00%> (+1.16%) :arrow_up:
R/Request.R 89.47% <0.00%> (-0.10%) :arrow_down:
R/Router.R 98.80% <0.00%> (+0.04%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 25ca00a...bc11974. Read the comment docs.

lintr-bot commented 4 years ago

R/Router.R:168:9: style: Place a space before left parenthesis, except in a function call.

​      if(identical(prefix, "")) {
        ^