libgit2/include/git2
Carlos Martín Nieto 5e947c91d4 index: use the checksum to check whether it's been modified
We currently use a timetamp to check whether an index file has been
modified since we last read it, but this is racy. If two updates happen
in the same second and we read after the first one, we won't detect the
second one.

Instead read the SHA-1 checksum of the file, which are its last 20 bytes which
gives us a sure-fire way to detect whether the file has changed since we
last read it.

As we're now keeping track of it, expose an accessor to this data.
2015-06-19 22:05:08 +02:00
..
sys Merge pull request #3118 from libgit2/cmn/stream-size 2015-05-13 12:11:55 -04:00
annotated_commit.h annotated_commit: provide a constructor from a revspec 2015-03-16 16:57:30 +01:00
attr.h Documentation fixes 2014-07-08 10:30:19 +02:00
blame.h doc: add documentation to all the public structs and enums 2014-12-06 03:44:40 +01:00
blob.h [Blob] Update documentation for is_binary. 2014-05-28 22:57:21 +03:00
branch.h Add annotated commit versions of reflog-modifying functions 2015-03-16 16:57:30 +01:00
buffer.h Spelling fixes 2014-12-04 21:06:59 -06:00
checkout.h checkout: better document the baseline_index opt 2015-05-11 14:13:31 -04:00
cherrypick.h Use correct Doxygen trailing comment syntax 2015-02-10 12:44:05 -07:00
clone.h Remove the callbacks struct from the remote 2015-05-13 09:46:35 +02:00
commit.h commit: safer commit creation with reference update 2014-04-30 00:41:37 +02:00
common.h doc: add documentation to all the public structs and enums 2014-12-06 03:44:40 +01:00
config.h config: borrow refcounted references 2015-03-03 18:35:12 +01:00
cred_helpers.h cred_helpers: Add 'const' qualifiers to git_cred_userpass_payload 2015-05-24 13:18:30 +02:00
describe.h Fix doc comment formatting 2015-02-10 08:31:48 -07:00
diff.h diff: introduce binary diff callbacks 2015-06-12 09:39:20 -04:00
errors.h Rename GIT_EMERGECONFLICT to GIT_ECONFLICT 2015-05-29 09:55:09 -04:00
filter.h Introduce git_filter_list_contains 2015-06-10 14:43:49 -04:00
global.h init: return the number of initializations 2014-12-04 20:42:27 -05:00
graph.h Add git_graph_descendant_of. 2014-01-28 19:39:14 +01:00
ignore.h update copyrights 2013-01-08 17:31:27 -06:00
index.h index: use the checksum to check whether it's been modified 2015-06-19 22:05:08 +02:00
indexer.h Don't redefine the same callback types, their signatures may change 2014-04-21 11:28:49 +02:00
inttypes.h Unify whitespaces to tabs 2013-05-15 20:26:55 +08:00
merge.h Update documentation for API changes 2015-04-30 10:59:50 -04:00
message.h message: don't assume the comment char 2014-05-18 10:06:49 +02:00
net.h doc: add documentation to all the public structs and enums 2014-12-06 03:44:40 +01:00
notes.h note: use a git_buf to return the default namespace 2015-03-17 20:50:02 +01:00
object.h peel: reject bad queries with EINVALIDSPEC 2014-11-22 18:55:22 +01:00
odb_backend.h odb: make the writestream's size a git_off_t 2015-05-13 09:34:20 +02:00
odb.h odb: make the writestream's size a git_off_t 2015-05-13 09:34:20 +02:00
oid.h Fix doc comment formatting 2015-02-10 08:31:48 -07:00
oidarray.h merge: expose multiple merge bases 2014-07-27 17:17:22 +02:00
pack.h packbuilder: introduce git_packbuilder_insert_recur() 2015-03-17 20:51:14 +01:00
patch.h diff docs: update git_diff_delta description 2015-02-03 13:41:35 -05:00
pathspec.h pathspec: use C guards in header 2014-06-10 03:53:26 +02:00
rebase.h rebase: correct documentation, CHANGELOG 2015-04-20 17:22:39 -04:00
refdb.h Move git_reference__alloc to include/git2/sys 2013-04-21 12:52:17 -07:00
reflog.h reflog: constify byindex 2014-09-30 15:44:32 +02:00
refs.h Remove the signature from ref-modifying functions 2015-03-03 14:40:50 +01:00
refspec.h refspec: move to git_buf for outputting strings 2014-01-27 04:44:06 +01:00
remote.h remote: apply insteadOf configuration. 2015-05-31 13:21:53 +02:00
repository.h Add annotated commit versions of reflog-modifying functions 2015-03-16 16:57:30 +01:00
reset.h Add a missing include for reset 2015-05-20 21:06:01 +02:00
revert.h Use correct Doxygen trailing comment syntax 2015-02-10 12:44:05 -07:00
revparse.h Some documentation improvements 2013-08-28 09:31:32 -07:00
revwalk.h revwalk: reword the push text 2015-04-13 18:03:03 +02:00
signature.h Fixed miscellaneous documentation errors. 2014-05-23 15:57:20 +08:00
stash.h stash_apply: provide progress callbacks 2015-05-11 14:12:42 -04:00
status.h diff/status: introduce conflicts 2015-05-28 09:44:02 -04:00
stdint.h msvc: Properly handle inttypes.h/stdint.h 2011-10-05 16:21:16 -04:00
strarray.h Unify whitespaces to tabs 2013-05-15 20:26:55 +08:00
submodule.h Remove the callbacks struct from the remote 2015-05-13 09:46:35 +02:00
tag.h tag: Introduce git_tag_annotation_create() 2013-05-21 19:32:59 +02:00
trace.h Remove trace / add git_diff_perfdata struct + api 2014-05-02 09:21:33 -07:00
transaction.h transaction: rename lock() to lock_ref() 2014-10-09 16:29:30 +02:00
transport.h cred: Declare GIT_CREDTYPE_SSH_MEMORY unconditionally 2015-05-27 20:36:53 +02:00
tree.h treebuilder: rename _create() to _new() 2014-12-27 12:09:11 +00:00
types.h remote: move the transport ctor to the callbacks 2015-05-13 09:46:36 +02:00
version.h win32: add the patch level to the .dll fileversion 2015-03-02 10:35:26 -05:00