MCPcopy Index your code
hub / github.com/git/git / get_lock_file_path

Function get_lock_file_path

lockfile.h:258–261  ·  view source on GitHub ↗

* Return the path of the lockfile. The return value is a pointer to a * field within the lock_file object and should not be freed. */

Source from the content-addressed store, hash-verified

256 * field within the lock_file object and should not be freed.
257 */
258static inline const char *get_lock_file_path(struct lock_file *lk)
259{
260 return get_tempfile_path(lk->tempfile);
261}
262
263static inline int get_lock_file_fd(struct lock_file *lk)
264{

Callers 14

write_commit_graph_fileFunction · 0.85
write_midx_internalFunction · 0.85
setup_alternate_shallowFunction · 0.85
prune_shallowFunction · 0.85
do_write_locked_indexFunction · 0.85
flock_acquireFunction · 0.85
write_ref_to_lockfileFunction · 0.85
create_symref_lockFunction · 0.85
files_reflog_expireFunction · 0.85
process_log_fileFunction · 0.85

Calls 1

get_tempfile_pathFunction · 0.85

Tested by

no test coverage detected