MCPcopy Create free account
hub / github.com/davisking/dlib / set_current_dir

Function set_current_dir

dlib/misc_api/misc_api_kernel_2.cpp:60–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58// ----------------------------------------------------------------------------------------
59
60 void set_current_dir (
61 const std::string& new_dir
62 )
63 {
64 if (chdir(new_dir.c_str()))
65 {
66 throw set_current_dir_error("Error changing current dir to '" + new_dir + "'");
67 }
68 }
69
70// ----------------------------------------------------------------------------------------
71

Callers 7

revertMethod · 0.70
cluster_datasetFunction · 0.50
flip_datasetFunction · 0.50
metadata_editorMethod · 0.50
rotate_datasetFunction · 0.50

Calls 1

Tested by

no test coverage detected