MCPcopy Create free account
hub / github.com/catboost/catboost / ShrinkToFit

Method ShrinkToFit

util/system/file.cpp:995–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993 }
994
995 void ShrinkToFit() {
996 if (!Handle_.ShrinkToFit()) {
997 ythrow TFileError() << "can't shrink " << FileName_.Quote() << " to logical size";
998 }
999 }
1000
1001 void Flush() {
1002 if (!Handle_.Flush()) {

Callers

nothing calls this directly

Calls 1

ShrinkToFitMethod · 0.45

Tested by

no test coverage detected