MCPcopy Create free account
hub / github.com/GNOME/gjs / get_file_identifier

Function get_file_identifier

gjs/coverage.cpp:68–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66static GParamSpec* gjs_coverage_props[PROP_OUTPUT_DIRECTORY + 1];
67
68[[nodiscard]]
69static char* get_file_identifier(GFile* source_file) {
70 char* path = g_file_get_path(source_file);
71 if (!path)
72 path = g_file_get_uri(source_file);
73 return path;
74}
75
76[[nodiscard]]
77static GErrorResult<> write_source_file_header(GOutputStream* stream,

Callers 1

write_source_file_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected