rjkroege / edwood

Go version of Plan9 Acme Editor
Other
387 stars 34 forks source link

Simplify the API between OEB and File #377

Closed rjkroege closed 3 years ago

rjkroege commented 3 years ago

Remove the Load function from the API between file.ObservableEditableBuffer and file.File. Simplifies connectiong file.Buffer. Helps with #97.

codecov[bot] commented 3 years ago

Codecov Report

Merging #377 (3d5e19f) into master (d66e647) will decrease coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #377      +/-   ##
==========================================
- Coverage   53.53%   53.52%   -0.02%     
==========================================
  Files          55       55              
  Lines       10688    10685       -3     
==========================================
- Hits         5722     5719       -3     
  Misses       4536     4536              
  Partials      430      430              
Impacted Files Coverage Δ
file/file.go 87.50% <ø> (-0.33%) :arrow_down:
file/observable_editable_buffer.go 67.26% <100.00%> (+0.19%) :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 d66e647...3d5e19f. Read the comment docs.