MCPcopy Create free account
hub / github.com/git/git / hold_lock_file_for_update_timeout

Function hold_lock_file_for_update_timeout

lockfile.h:192–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190 int flags, long timeout_ms, int mode);
191
192static inline int hold_lock_file_for_update_timeout(
193 struct lock_file *lk, const char *path,
194 int flags, long timeout_ms)
195{
196 return hold_lock_file_for_update_timeout_mode(lk, path, flags,
197 timeout_ms, 0666);
198}
199
200/*
201 * Attempt to create a lockfile for the file at `path` and return a

Callers 10

unix_ss_createFunction · 0.85
write_one_objectFunction · 0.85
flock_acquireFunction · 0.85
packed_refs_lockFunction · 0.85
lock_raw_refFunction · 0.85
create_reflockFunction · 0.85
rewrite_credential_fileFunction · 0.85
launchctl_schedule_plistFunction · 0.85

Tested by

no test coverage detected