Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/pack-mtimes.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / pack-mtimes.h` 24 lines ยท 628 bytes Raw Blame History 1 #ifndef PACK_MTIMES_H 2 #define PACK_MTIMES_H 3 4 #define MTIMES_SIGNATURE 0x4d544d45 /* "MTME" */ 5 #define MTIMES_VERSION 1 6 7 struct packed_git; 8 9 /* 10 * Loads the .mtimes file corresponding to "p", if any, returning zero 11 * on success. 12 */ 13 int load_pack_mtimes(struct packed_git *p); 14 15 /* Returns the mtime associated with the object at position "pos" (in 16 * lexicographic/index order) in pack "p". 17 * 18 * Note that it is a BUG() to call this function if either (a) "p" does 19 * not have a corresponding .mtimes file, or (b) it does, but it hasn't 20 * been loaded 21 */ 22 uint32_t nth_packed_mtime(struct packed_git *p, uint32_t pos); 23 24 #endif