git vocabulary - Factor Documentation (original) (raw)

git vocabulary
Factor handbook » Vocabulary index

Summary

Metadata

Authors: Doug Coleman

Words

Tuple classes

Class Superclass Slots
byte-expected tuple offset
commit tuple hash tree parents author committer gpgsig message
copy tuple offset size
expected-one-line tuple lines
expected-ref tuple got
git-index tuple magic version entries checksum
idx tuple version table triples packfile-sha1 idx-sha1
idx-v1-unsupported tuple
index-entry tuple ctime mtime dev ino mode uid gid size sha1 flags name
insert tuple bytes
no-pack-for tuple sha1
not-a-git-directory tuple path
pack tuple magic version count objects sha1
repeated-parent-hash tuple hash
separator-expected tuple expected-one-of got
tree tuple hash tree parents author committer gpgsig message
unhandled-git-version tuple n
unknown-delta-operation tuple op
unknown-dot-git tuple path
unknown-field tuple name parameter
unknown-git-object tuple obj
unsupported-packed-raw-type tuple type

Symbol words

#bits
initial-offset
parents

Ordinary words

Word Stack effect
( tree parents author committer -- obj )
( offset size -- copy )
( magic version entries checksum -- obj )
( version table triples packfile-sha1 idx-sha1 -- obj )
( ctime mtime dev ino mode uid gid size sha1 flags name -- obj )
( bytes -- insert )
( -- obj )
apply-delta ( delta -- )
byte-expected ( offset -- * )
changed-index-by-mtime ( -- seq )
changed-index-by-sha1 ( -- seq )
commit. ( commit -- )
current-git-base-directory ( -- path )
current-git-directory ( -- path )
do-deltas ( bytes delta-bytes -- bytes' )
ensure-git-remote ( owner repo -- )
ensure-pr-remote ( pr-json -- )
expected-one-line ( lines -- * )
expected-ref ( got -- * )
filter-git-remotes ( seq -- seq' )
find-base-git-directory ( path -- path'/f )
find-git-directory ( path -- path'/f )
find-pack-for ( sha1 -- triple )
get-git-file-contents ( path -- contents )
get-git-file-lines ( path -- contents )
git-binary-contents ( str -- contents )
git-config ( -- config )
git-config-path ( -- path )
git-date>string ( seq -- string )
git-hash-object ( str -- hash )
git-hash? ( str -- ? )
git-head-object ( -- commit )
git-head-ref ( -- sha1 )
git-index-contents ( -- git-index )
git-line ( str -- contents )
git-lines ( str -- contents )
git-log ( -- log )
git-log-for-ref ( ref -- log )
git-object-contents ( hash -- contents )
git-object-from-pack ( sha1 -- pack )
git-parse-all-idx ( -- seq )
git-read-idx ( sha -- obj )
git-read-object ( sha -- obj )
git-ref ( ref -- sha1 )
git-remote-matches? ( hash owner repo -- ? )
git-remote? ( hash -- ? )
git-stash-ref-sha1 ( -- contents )
git-string>assoc ( string -- assoc )
git-unpacked-object-exists? ( hash -- ? )
git-utf8-contents ( str -- contents )
github-git-remote-matches? ( hash owner repo -- ? )
github-git-remote? ( hash -- ? )
github-https-remote-matches? ( hash owner repo -- ? )
github-https-remote? ( hash -- ? )
gmt-offset>duration ( string -- duration )
has-any-git-at-urls? ( git-ini -- ? )
has-remote-repo? ( git-ini owner repo -- ? )
idx-v1-unsupported ( -- * )
list-refs ( -- seq )
list-refs-for ( path -- seq )
make-git-base-path ( str -- path )
make-git-object ( str -- obj )
make-git-path ( str -- path )
make-idx-path ( sha -- path )
make-object-path ( str -- path )
make-pack-path ( sha -- path )
make-refs-path ( str -- path )
no-pack-for ( sha1 -- * )
not-a-git-directory ( path -- * )
parse-delta ( -- delta/f )
parse-deltas ( bytes -- deltas )
parse-dot-git-file ( path -- path' )
parse-git-config ( -- seq )
parse-idx ( path -- idx )
parse-idx-v2 ( -- idx )
parse-new-git-object ( string class -- commit )
parse-object ( bytes -- git-obj )
parse-pack ( path -- pack )
parse-packed-object ( sha1 offset -- obj )
parse-ref ( string -- string' )
parse-ref-line ( string -- string' )
parsed-idx>hash ( seq -- hash )
parsed-idx>hash2 ( seq -- hash )
path>git-object ( path -- bytes )
read-be-length ( -- length )
read-index-entry-v2 ( -- seq )
read-le-length ( -- length )
read-offset-delta ( size -- obj )
read-packed ( -- obj/f )
read-packed-raw ( -- string )
read-sha1-delta ( size -- obj )
read-type-length ( -- pair )
read-until* ( separators -- data )
read1* ( -- n )
ref-contents ( str -- line )
remote-refs-dirs ( -- seq )
repeated-parent-hash ( hash -- * )
separator-expected ( expected-one-of got -- * )
set-git-object-field ( obj name parameter -- obj )
unhandled-git-version ( n -- * )
unknown-delta-operation ( op -- * )
unknown-dot-git ( path -- * )
unknown-field ( name parameter -- * )
unknown-git-object ( obj -- * )
unsupported-packed-raw-type ( type -- * )
write-git-config ( seq -- )

Class predicate words

Word Stack effect
byte-expected? ( object -- ? )
commit? ( object -- ? )
copy? ( object -- ? )
expected-one-line? ( object -- ? )
expected-ref? ( object -- ? )
git-index? ( object -- ? )
idx-v1-unsupported? ( object -- ? )
idx? ( object -- ? )
index-entry? ( object -- ? )
insert? ( object -- ? )
no-pack-for? ( object -- ? )
not-a-git-directory? ( object -- ? )
pack? ( object -- ? )
repeated-parent-hash? ( object -- ? )
separator-expected? ( object -- ? )
tree? ( object -- ? )
unhandled-git-version? ( object -- ? )
unknown-delta-operation? ( object -- ? )
unknown-dot-git? ( object -- ? )
unknown-field? ( object -- ? )
unknown-git-object? ( object -- ? )
unsupported-packed-raw-type? ( object -- ? )

Files

resource:extra/git/git.factor
resource:extra/git/git-tests.factor

Metadata files

resource:extra/git/authors.txt