Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ get_lock_file_fd
Function
get_lock_file_fd
lockfile.h:263–266 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
261
}
262
263
static inline int get_lock_file_fd(struct lock_file *lk)
264
{
265
return get_tempfile_fd(lk->tempfile);
266
}
267
268
static inline FILE *get_lock_file_fp(struct lock_file *lk)
269
{
Callers
9
write_commit_graph_file
Function · 0.85
write_midx_internal
Function · 0.85
flock_acquire
Function · 0.85
write_ref_to_lockfile
Function · 0.85
files_reflog_expire
Function · 0.85
print_line
Function · 0.85
process_log_file
Function · 0.85
cmd_gc
Function · 0.85
update_background_schedule
Function · 0.85
Calls
1
get_tempfile_fd
Function · 0.85
Tested by
no test coverage detected