git/GitRefspec.st
changeset 0 71c763bbb4bc
equal deleted inserted replaced
-1:000000000000 0:71c763bbb4bc
       
     1 "{ Package: 'stx:libscm/git' }"
       
     2 
       
     3 ExternalStructure subclass:#GitRefspec
       
     4 	instanceVariableNames:''
       
     5 	classVariableNames:''
       
     6 	poolDictionaries:''
       
     7 	category:'Git-Support-libgit2'
       
     8 !
       
     9 
       
    10 
       
    11 !GitRefspec class methodsFor:'accessing'!
       
    12 
       
    13 libraryName
       
    14 
       
    15     OperatingSystem isUNIXlike ifTrue:[^'libgit2.so'].
       
    16 
       
    17     OperatingSystem isMSWINDOWSlike ifTrue:[^'git2.dll'].
       
    18 
       
    19     self error:'Library name for host OS is not known'
       
    20 !
       
    21 
       
    22 structSize
       
    23 
       
    24     ^0
       
    25 ! !
       
    26 
       
    27 !GitRefspec class methodsFor:'documentation'!
       
    28 
       
    29 version_SVN
       
    30     ^ '$Id::                                                                                                                        $'
       
    31 ! !