MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / GenerateUniqueFileName

Method GenerateUniqueFileName

src/gtest/gtest-all.cpp:7706–7715  ·  view source on GitHub ↗

Returns a pathname for a file that does not currently exist. The pathname will be directory/base_name.extension or directory/base_name_ .extension if directory/base_name.extension already exists. The number will be incremented until a pathname is found that does not already exist. Examples: 'dir/foo_test.xml' or 'dir/foo_test_1.xml'. There could be a race condition if two or more processes

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

FileOrDirectoryExistsMethod · 0.80

Tested by

no test coverage detected