git/GitRemoteHandle.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 29 Jan 2013 16:31:57 +0000
changeset 207 fce7e7b62741
parent 31 d96d7eff6efc
child 481 0cfef855baa2
permissions -rw-r--r--
HGCommand: added tracing of executed commands.

"{ Package: 'stx:libscm/git' }"

ExternalAddress subclass:#GitRemoteHandle
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'SCM-Git-Core-Internal-Handles'
!


!GitRemoteHandle class methodsFor:'accessing'!

libraryName

    OperatingSystem isUNIXlike ifTrue:[^'libgit2.so'].

    OperatingSystem isMSWINDOWSlike ifTrue:[^'git2.dll'].

    self error:'Library name for host OS is not known'
!

structSize
    "Returns size of undelaying structure in bytes"

    ^0
! !

!GitRemoteHandle class methodsFor:'documentation'!

version_GIT
    "Never, ever change this method. Ask JV or CG why"
    ^thisContext method mclass theNonMetaclass instVarNamed: #revision
!

version_SVN
    ^ '$Id::                                                                                                                        $'
! !