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

Function Touch

util/system/fs_ut.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30UNIT_TEST_SUITE_REGISTRATION(TFsTest);
31
32static void Touch(const TFsPath& path) {
33 TFile file(path, CreateAlways | WrOnly);
34 file.Write("123", 3);
35}
36
37void TFsTest::TestCreateRemove() {
38 TFsPath dir1 = "dir_aбвг";

Callers 2

TestCreateRemoveMethod · 0.70
TImplMethod · 0.50

Calls 1

WriteMethod · 0.45

Tested by 1

TestCreateRemoveMethod · 0.56