MCPcopy Create free account
hub / github.com/boostorg/build / get_filename

Function get_filename

src/engine/debugger.cpp:341–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341static OBJECT * get_filename( OBJECT * path )
342{
343 PATHNAME path1[ 1 ];
344 string buf[ 1 ];
345 OBJECT * result;
346 path_parse( object_str( path ), path1 );
347 path1->f_dir.ptr = NULL;
348 path1->f_dir.len = 0;
349 string_new( buf );
350 path_build( path1, buf );
351 result = object_new( buf->value );
352 string_free( buf );
353 return result;
354}
355
356static int is_same_file( OBJECT * file1, OBJECT * file2 )
357{

Callers 1

is_same_fileFunction · 0.85

Calls 6

path_parseFunction · 0.85
object_strFunction · 0.85
string_newFunction · 0.85
path_buildFunction · 0.85
object_newFunction · 0.85
string_freeFunction · 0.85

Tested by

no test coverage detected