text
stringlengths
11
6.3k
embedding
listlengths
768
768
func WithSource(ctx context.Context, s EventSource) context.Context { return context.WithValue(ctx, sourceKey{}, s) }
[ -0.018490120768547058, 0.21645572781562805, 0.29299116134643555, -0.2290620654821396, -1.2819849252700806, -0.864467442035675, -0.147825226187706, -0.04213054105639458, 1.3767305612564087, 0.23273110389709473, -0.31783613562583923, 0.07297607511281967, 0.843446671962738, -0.102330446243286...
func SourceFromContext(ctx context.Context) EventSource { if s, ok := ctx.Value(sourceKey{}).(EventSource); ok { return s } return nil }
[ 0.11924295872449875, 0.36757341027259827, -0.05686016380786896, -0.48171430826187134, -0.6825742721557617, -0.6677267551422119, -0.4631049931049347, -0.5968011021614075, 0.924832820892334, 0.0031741904094815254, -0.7614849805831909, -0.5125752091407776, -0.4533277153968811, 0.1477039605379...
func (o *Output) writeResponse(response string) error { // write the response if _, err := o.writer.WriteString(response + "\n"); err != nil { return err } return nil }
[ -0.1331738531589508, -0.6672604084014893, 0.2946698069572449, 0.20258812606334686, 0.7821085453033447, -1.11483895778656, 0.5721710324287415, 0.009643159806728363, 0.776372492313385, -0.33155229687690735, -0.11540300399065018, -1.2889994382858276, -0.5542082190513611, -0.36695095896720886,...
func (o *Output) getResponse() { for response := range o.receiveChannel { log.Println("Producer: got a response to write") if err := o.writeResponse(response); err != nil { continue } } }
[ 0.0032632157672196627, -0.9282009601593018, 0.48737528920173645, 0.0899585410952568, 1.4612350463867188, -1.6792103052139282, 0.8175617456436157, -0.9168554544448853, 0.13691866397857666, -0.41337111592292786, 0.5552716851234436, -0.4622555077075958, -0.8594197630882263, -0.291013389825820...
func (o *Output) cleanup() { o.writer.Flush() o.file.Close() }
[ 0.6787818074226379, -1.4567078351974487, 0.37718093395233154, -0.45327386260032654, -0.5704318284988403, -0.17441172897815704, 1.8818281888961792, 0.3598560094833374, -0.20967645943164825, -1.0339351892471313, 0.5154027342796326, -0.503838062286377, 0.509516716003418, 0.5382577776908875, ...
func StartProducer(ch <-chan string) error { file := util.CreateOutputFile() output, err := initializeProducer(file, ch) if err != nil { return err } // channel output.getResponse() output.cleanup() return nil }
[ -0.27216559648513794, -0.8101754784584045, 0.5095529556274414, 0.2891117334365845, -0.6431483030319214, -0.04552070051431656, 1.0090800523757935, -0.008427227847278118, -0.06930258125066757, -0.18149101734161377, -0.3971589207649231, 1.2610541582107544, -0.2822389006614685, 0.6019053459167...
func initializeProducer(path *os.File, ch <-chan string) (*Output, error) { log.Println("Initializing producer ...") writer := bufio.NewWriter(path) return &Output{ file: path, writer: writer, receiveChannel: ch, }, nil }
[ -0.35597309470176697, -0.350908100605011, 0.5899041891098022, -0.20571370422840118, -0.2634342610836029, -0.8557633757591248, 0.25932052731513977, -0.47089508175849915, -0.5413466691970825, -0.3460352122783661, -0.602972149848938, 0.8404287099838257, -0.6065458059310913, 0.1403748393058776...
func countSmaller(nums []int) []int { result := make([]int, len(nums), len(nums)) newArray := make([]int, 0) for i := len(nums) - 1; i >= 0; i -- { insertPos := biInsert(nums[i], newArray) newArray = append(newArray, 0) copy(newArray[insertPos+1:], newArray[insertPos:]) newArray[insertPos] = nums[i] result...
[ 0.42269769310951233, -0.6293197274208069, 0.902248740196228, -0.1394452601671219, -0.018742959946393967, -0.012824327684938908, 1.0886523723602295, 0.032510217279195786, 1.124456524848938, 0.17072029411792755, -0.44489288330078125, 0.08905605226755142, -0.4409801661968231, 1.06711411476135...
func biInsert(x int, array []int) int { if len(array) == 0 { return 0 } start, end := 0, len(array) - 1 for start < end - 1 { mid := start + (end - start) / 2 if array[mid] < x { start = mid } else { end = mid } } if array[start] >= x { return start } else if array[end] >= x { return end } e...
[ -0.21334142982959747, -0.10733765363693237, 0.8641392588615417, 0.11006996035575867, -0.4219050407409668, -0.1732477843761444, 0.38816097378730774, 0.07681139558553696, -0.17507171630859375, 0.619512140750885, -1.373063564300537, 0.5981303453445435, -1.0883997678756714, 0.42468053102493286...
func FileExists(path string) (bool, error) { fileInfo, err := os.Stat(path) if err == nil { return !fileInfo.IsDir(), nil } if os.IsNotExist(err) { return false, nil } return false, errors.Wrapf(err, "failed to check if file exists %s", path) }
[ -0.9632062315940857, -0.10271954536437988, 0.6792092323303223, 0.44868776202201843, 0.8548059463500977, 0.7305654287338257, -0.1730976700782776, -0.15673843026161194, -0.23999623954296112, -0.5289809703826904, -0.22083263099193573, -0.3795165419578552, 0.5363112688064575, 0.600622713565826...
func RSAEncrypt(src []byte, pubKey []byte) (res []byte, err error) { block, _ := pem.Decode(pubKey) // unmarshal publicKey keyInit, err := x509.ParsePKIXPublicKey(block.Bytes) if err != nil { return } publicKey := keyInit.(*rsa.PublicKey) // encrypt data with publicKey res, err = rsa.EncryptPKCS1v15(rand.Rea...
[ 0.0008747084066271782, 0.7827200293540955, 0.6005194187164307, 0.055041611194610596, -0.1309758573770523, -0.6859249472618103, 0.03226747363805771, -0.08724694699048996, 0.5520843267440796, 0.9940037131309509, -0.7987252473831177, -0.08548063039779663, -0.8118926882743835, 0.48151549696922...
func RSADecrypt(encryptedSrc []byte, prvKey []byte) (res []byte, err error) { // decode the privateKey block, _ := pem.Decode(prvKey) blockBytes := block.Bytes privateKey, err := x509.ParsePKCS1PrivateKey(blockBytes) // decrypt by privateKey res, err = rsa.DecryptPKCS1v15(rand.Reader, privateKey, encryptedSrc) r...
[ -0.6547701358795166, 0.3484591543674469, 0.658366858959198, -0.4791838824748993, -0.05893166735768318, -0.7964381575584412, -0.5317499041557312, -0.2627812623977661, 0.7806721925735474, 0.6617231965065002, 0.3059552013874054, 0.8954012393951416, -1.2649223804473877, -0.08072851598262787, ...
func RSAGenKeyWithPwd(bits int, pwd string) (pubKey, prvKey []byte, err error) { /* generate privateKey */ privateKey, err := rsa.GenerateKey(rand.Reader, bits) if err != nil { return nil, nil, err } privateStream := x509.MarshalPKCS1PrivateKey(privateKey) block1 := &pem.Block{ Type: "private key", Byte...
[ 0.1399352252483368, -0.404145747423172, 0.6990383863449097, -0.06652979552745819, -0.36462509632110596, -0.0182468481361866, -0.18643592298030853, -0.011417836882174015, 0.5646135210990906, 1.2410207986831665, 0.4567650556564331, 0.2538550794124603, -0.29720833897590637, 1.6327046155929565...
func RSADecryptWithPwd(src []byte, prvKey []byte, pwd string) (res []byte, err error) { block, _ := pem.Decode(prvKey) blockBytes := block.Bytes if pwd != "" { blockBytes, err = x509.DecryptPEMBlock(block, []byte(pwd)) if err != nil { return nil, err } } privateKey, err := x509.ParsePKCS1PrivateKey(blockB...
[ -0.20487791299819946, -0.15425214171409607, 0.7748077511787415, -0.13715209066867828, -0.7988898754119873, 0.14489400386810303, -0.24831421673297882, 0.09944312274456024, 0.8147401809692383, 0.28674498200416565, 0.8142731189727783, 0.21372857689857483, -0.709658145904541, 0.680192291736602...
func StartApp() { router := RouterInitial() log.Fatal(router.Run(fmt.Sprintf(":%s", os.Getenv("SERVER_PORT")))) }
[ 1.1226553916931152, -1.2878211736679077, 0.7610707879066467, 0.9456114768981934, 0.7393951416015625, 0.8476808667182922, 0.7683732509613037, 0.5327552556991577, -0.9883817434310913, 0.8929538726806641, -0.04472290724515915, 1.2016745805740356, 0.047908563166856766, 1.0750219821929932, 0....
func loggersEqual(actual, expected *Logger) error { if actual.out != expected.out { return fmt.Errorf("output does not match") } if err := approxInt64(actual.timestamp, expected.timestamp, 100 /* ms */); err != nil { return fmt.Errorf("timestamp %v", err) } return nil }
[ -0.2506684362888336, -0.8107520937919617, 0.32890012860298157, -0.13595348596572876, -0.11357738077640533, -0.47680026292800903, -0.8736587166786194, -0.5800596475601196, -0.3155510425567627, 1.4653756618499756, -0.5247163772583008, 0.3467738926410675, 0.032508689910173416, 0.3970598876476...
func (b *Base) GenDefaultID() string { s := fmt.Sprintf("%s-%d", b.GetLastSource(), b.Time.UnixNano()) return Sha1HashString(s) }
[ 0.3278132677078247, 0.3286944031715393, 0.46666309237480164, 0.007094450294971466, 0.6530539989471436, 0.9457288384437561, -0.6190412044525146, 0.12093344330787659, -0.026559628546237946, 0.30278897285461426, -0.4400370121002197, -0.34154102206230164, -0.17821592092514038, 0.44930452108383...
func (rci *redisClientImplementation) Watch(ctx context.Context, fn func(*redis.Tx) error, keys ...string) error { return rci.client.Watch(ctx, fn, keys...) }
[ -0.34864723682403564, 0.16382011771202087, 0.2163931280374527, -0.614463210105896, 0.15277066826820374, -0.3522683382034302, -0.20427396893501282, -0.07112980633974075, -0.6686387062072754, -0.45820319652557373, -0.7028435468673706, 1.082350730895996, 0.9512790441513062, -0.901422262191772...
func (ms Memorystore) Delete(key string) error { return ms.DeleteMulti([]string{key}) }
[ 0.19565244019031525, 0.7461069226264954, 0.1766621321439743, 0.5175904035568237, -0.8578604459762573, -0.2411850392818451, -0.8226037621498108, 0.6171291470527649, 0.8699917793273926, 0.7762629985809326, -0.5463711023330688, -0.399374783039093, -1.4159495830535889, 0.9961284399032593, -0...
func PluginFactory(ctx context.Context, pluginName string, sys pluginutil.LookRunnerUtil, logger log.Logger) (Database, error) { // Look for plugin in the plugin catalog pluginRunner, err := sys.LookupPlugin(ctx, pluginName, consts.PluginTypeDatabase) if err != nil { return nil, err } namedLogger := logger.Name...
[ 0.15237538516521454, 0.11058355122804642, 0.5620034337043762, -0.2537156939506531, 0.0925634503364563, -0.6440097689628601, 0.452683687210083, -0.25269609689712524, 0.5330755710601807, 0.319228857755661, -0.43216395378112793, 1.0457311868667603, -0.6775681972503662, 0.24649348855018616, ...
func NewGitLocal() *GitLocal { return &GitLocal{ GitCLI: NewGitCLI(), GitFake: &GitFake{}, } }
[ 0.42841699719429016, -0.8549590706825256, 0.2842820882797241, -0.2562994658946991, -1.0690845251083374, 0.1069072037935257, 0.3826952576637268, 0.27696409821510315, -0.7736430168151855, 0.4596777856349945, -1.102121353149414, 0.8432670831680298, -0.015565462410449982, 0.1350957751274109, ...
func (g *GitLocal) FindGitConfigDir(dir string) (string, string, error) { return g.GitCLI.FindGitConfigDir(dir) }
[ -0.4145778715610504, 0.213829904794693, 0.40607863664627075, -0.6515135169029236, -1.095997929573059, -0.16968117654323578, 0.29187482595443726, -0.17166286706924438, -1.3367466926574707, 0.8157441020011902, -0.45968925952911377, 0.021193798631429672, -0.4800258278846741, 1.894315958023071...
func (g *GitLocal) Clone(url string, dir string) error { return g.GitFake.Clone(url, dir) }
[ -0.06532887369394302, -0.3152230679988861, 0.12831595540046692, 0.5735662579536438, -0.7063097953796387, 0.21420197188854218, -0.03220837563276291, 0.2810581922531128, -0.10265952348709106, 0.39866045117378235, 0.26433172821998596, 0.9970682263374329, 0.3384687900543213, -0.178672581911087...
func (g *GitLocal) ShallowCloneBranch(url string, branch string, dir string) error { return g.GitFake.ShallowCloneBranch(url, branch, dir) }
[ -0.2807823121547699, -0.008890013210475445, 0.1963113397359848, 0.8258690237998962, -0.524812638759613, 0.4080771207809448, 0.02223549596965313, 0.1479702591896057, 0.9961175322532654, -0.3642863631248474, -0.37738633155822754, 1.3963029384613037, -0.17526614665985107, 0.4688335657119751, ...
func (g *GitLocal) ShallowClone(dir string, url string, commitish string, pullRequest string) error { return g.GitFake.ShallowClone(dir, url, commitish, pullRequest) }
[ 0.1733434945344925, -0.28303423523902893, 0.13614332675933838, -0.09967856854200363, -0.3671077787876129, 0.33720460534095764, -0.15335091948509216, 0.5490503311157227, -0.14478251338005066, -0.11504000425338745, 0.1700810045003891, 0.6194274425506592, -0.03479369357228279, -0.017897732555...
func (g *GitLocal) Pull(dir string) error { return g.GitFake.Pull(dir) }
[ -0.6848599910736084, 0.5208836197853088, 0.012161970138549805, -0.12067408859729767, -0.5240487456321716, 0.2862759232521057, 0.40175044536590576, 0.32469475269317627, 0.17490702867507935, -0.603897750377655, 0.1354580968618393, 0.929809033870697, 0.12528899312019348, 0.5022090077400208, ...
func (g *GitLocal) PullRemoteBranches(dir string) error { return g.GitFake.PullRemoteBranches(dir) }
[ -0.5259037613868713, 0.18518012762069702, 0.2137984335422516, 0.3134991228580475, -0.8709582686424255, 0.6368388533592224, 0.04848171025514603, -0.3531929552555084, -0.032469864934682846, 0.18996073305606842, -1.3178236484527588, 0.5363327264785767, -1.6299617290496826, -0.1200086623430252...
func (g *GitLocal) DeleteRemoteBranch(dir string, remoteName string, branch string) error { return g.GitFake.DeleteRemoteBranch(dir, remoteName, branch) }
[ -0.14993679523468018, -0.2872440814971924, 0.2268681675195694, 0.40209445357322693, -0.4678601026535034, 0.987280011177063, -0.7888291478157043, 0.4535212218761444, 0.20704385638237, -0.18909427523612976, -1.3145509958267212, 1.1572370529174805, -0.8934736251831055, 0.8401069045066833, 0...
func (g *GitLocal) DeleteLocalBranch(dir string, branch string) error { return g.GitFake.DeleteLocalBranch(dir, branch) }
[ 0.4380311667919159, -0.14542558789253235, 0.17370590567588806, 0.8168212175369263, -0.452559232711792, 0.13981470465660095, -0.21115431189537048, 0.9741477370262146, 0.6138685345649719, -0.25346890091896057, -0.6775773763656616, 0.8667725920677185, -0.5729705691337585, 1.320792555809021, ...
func (g *GitLocal) CloneOrPull(url string, dir string) error { return g.GitFake.CloneOrPull(url, dir) }
[ -0.5944676399230957, 0.2996935546398163, 0.158632293343544, -0.10016300529241562, -0.025256095454096794, 0.47642916440963745, -0.2101515233516693, 0.6857835650444031, 1.0707511901855469, 0.4712669849395752, 0.518904983997345, 0.7211688160896301, 0.5364025235176086, 0.028397900983691216, ...
func (g *GitLocal) PullUpstream(dir string) error { return g.GitFake.PullUpstream(dir) }
[ -0.5152610540390015, 0.2510836720466614, 0.21653173863887787, 0.2111348807811737, -0.8715943098068237, -0.5089198350906372, 0.7625929117202759, 0.36716827750205994, 0.28566810488700867, 0.5172175765037537, 0.14187945425510406, 0.6875395774841309, 0.1160581037402153, 0.749794602394104, -0...
func (g *GitLocal) ResetToUpstream(dir string, branch string) error { return g.GitFake.ResetToUpstream(dir, branch) }
[ -0.3805537223815918, 0.34244969487190247, 0.10999608039855957, 0.3580358624458313, -0.06412295997142792, -0.3910617232322693, 0.36101585626602173, 0.6476276516914368, -0.3962796628475189, -0.08487418293952942, 0.1662149876356125, 0.788418710231781, -0.2061830759048462, 0.49753066897392273,...
func (g *GitLocal) AddRemote(dir string, name string, url string) error { return g.GitCLI.AddRemote(dir, name, url) }
[ -0.42144086956977844, 0.26422715187072754, 0.4886050820350647, -0.032243382185697556, -0.9710795283317566, 1.000119924545288, -1.0892080068588257, 0.48540231585502625, -0.3399224281311035, -0.4111749827861786, -1.456313133239746, 0.31801050901412964, -0.9519034624099731, -0.117709301412105...
func (g *GitLocal) UpdateRemote(dir, url string) error { return g.GitCLI.UpdateRemote(dir, url) }
[ -0.8845925331115723, -0.7241786122322083, 0.3510565161705017, -0.4413190186023712, -1.2711975574493408, 0.9875384569168091, -0.5323823094367981, 0.5569127202033997, -0.7185661792755127, 0.6011999845504761, -1.5040810108184814, 1.0794527530670166, -0.8632826209068298, -0.3771545886993408, ...
func (g *GitLocal) StashPush(dir string) error { return g.GitCLI.StashPush(dir) }
[ 0.7144625186920166, 1.2748805284500122, 0.3273235857486725, -0.025790942832827568, -0.31557023525238037, 0.8758116364479065, 0.6519942879676819, -0.574039876461029, -0.10007322579622269, 1.2528953552246094, -0.779064416885376, 0.8957929015159607, 0.06600569188594818, 0.5614883303642273, ...
func (g *GitLocal) CheckoutRemoteBranch(dir string, branch string) error { return g.GitCLI.CheckoutRemoteBranch(dir, branch) }
[ 0.5797768831253052, 0.03538854792714119, 0.2293430119752884, 0.07597809284925461, -0.8573206663131714, 1.3451448678970337, -0.6030887961387634, 0.4448244869709015, -0.23141077160835266, 0.8084583282470703, -1.1935129165649414, 0.702403724193573, -0.7736539244651794, 0.11325617879629135, ...
func (g *GitLocal) RemoteBranches(dir string) ([]string, error) { return g.GitCLI.RemoteBranches(dir) }
[ -0.07798632234334946, 0.13790129125118256, 0.3356289565563202, 0.15196296572685242, -0.992218554019928, 0.8311877250671387, -0.49029046297073364, -0.5898932218551636, -0.20630279183387756, 0.6886377930641174, -1.5175851583480835, 0.6507894992828369, -2.0342228412628174, 0.151720330119133, ...
func (g *GitLocal) Checkout(dir string, branch string) error { return g.GitCLI.Checkout(dir, branch) }
[ 1.521477222442627, 0.1315707117319107, 0.049347590655088425, -0.0424509234726429, -0.07064702361822128, 0.5706457495689392, -0.2211305946111679, 0.7190544009208679, -0.4597654342651367, 0.8461140394210815, 0.07062161713838577, 0.8403627276420593, -0.27735358476638794, -0.07104527950286865,...
func (g *GitLocal) CheckoutCommitFiles(dir string, commit string, files []string) error { return g.GitCLI.CheckoutCommitFiles(dir, commit, files) }
[ 0.5230839252471924, -0.23441258072853088, 0.23659570515155792, 0.49067002534866333, 0.1731082797050476, 0.30316808819770813, 0.5940727591514587, 0.6544938683509827, -1.0870243310928345, 2.0534842014312744, -0.1181514635682106, -0.2920898497104645, -1.556100606918335, -0.13044245541095734, ...
func (g *GitLocal) CheckoutOrphan(dir string, branch string) error { return g.GitCLI.CheckoutOrphan(dir, branch) }
[ 0.31924647092819214, -0.6730061769485474, 0.2142566293478012, -0.3649195432662964, -0.575082540512085, -0.11531499773263931, -0.5785355567932129, 1.2068889141082764, -0.2744329273700714, 0.6382378339767456, -0.059062208980321884, 0.33917081356048584, -0.06896944344043732, 0.064018741250038...
func (g *GitLocal) Init(dir string) error { return g.GitCLI.Init(dir) }
[ 0.39901670813560486, 0.027203621342778206, 0.07522118091583252, -0.9399385452270508, -0.4529646635055542, 0.9579666256904602, 0.41800373792648315, 0.6678728461265564, -0.783626914024353, 0.5004457235336304, -0.5408982634544373, 1.0908219814300537, 0.017132068052887917, 0.3093031644821167, ...
func (g *GitLocal) Remove(dir, fileName string) error { return g.GitCLI.Remove(dir, fileName) }
[ 0.6414770483970642, -0.3971893787384033, 0.19170691072940826, -0.3555431663990021, -0.5543408393859863, 0.14889249205589294, -0.047200318425893784, 1.2653852701187134, -0.7768596410751343, 0.6467781066894531, 0.07055287808179855, 0.3085159659385681, -0.5775985717773438, -0.0223369076848030...
func (g *GitLocal) RemoveForce(dir, fileName string) error { return g.GitCLI.RemoveForce(dir, fileName) }
[ 0.07337631285190582, 0.21282356977462769, 0.10390297323465347, 0.10114886611700058, 0.10742250829935074, -0.556250274181366, 0.12144524604082108, 0.9219222664833069, -0.5762739777565002, 0.13071998953819275, -0.4363727271556854, 0.24412550032138824, -0.8335009813308716, 0.4790113866329193,...
func (g *GitLocal) CleanForce(dir, fileName string) error { return g.CleanForce(dir, fileName) }
[ 0.07767709344625473, -0.20156247913837433, 0.08415575325489044, 0.36096546053886414, -0.411955863237381, -0.05104520171880722, 0.22669418156147003, 0.4512592852115631, -0.4574117064476013, 0.6765503287315369, -0.23528681695461273, 0.6430723667144775, 0.025160815566778183, 0.684005916118621...
func (g *GitLocal) Status(dir string) error { return g.GitCLI.Status(dir) }
[ -0.007350851781666279, -0.45877766609191895, -0.031224554404616356, -0.8284079432487488, -0.33921122550964355, 0.48955008387565613, 0.11066354811191559, 0.48958712816238403, 0.33278316259384155, 0.6446903944015503, -0.7071088552474976, 0.46570706367492676, -0.13356786966323853, 0.947511494...
func (g *GitLocal) Branch(dir string) (string, error) { return g.GitCLI.Branch(dir) }
[ 0.00009898706048261374, 0.12272569537162781, 0.028815533965826035, 0.32790884375572205, -0.41140037775039673, 0.9054758548736572, 0.2845396101474762, 0.13267706334590912, 0.18127110600471497, 0.5475727319717407, 0.40909937024116516, 0.6583828926086426, -0.11808452010154724, 0.2121451348066...
func (g *GitLocal) Push(dir string, remote string, force bool, refspec ...string) error { return g.GitFake.Push(dir, "origin", false) }
[ -0.32856109738349915, 0.223959282040596, 0.27307939529418945, -0.004237088840454817, -0.0783040001988411, 0.8925390243530273, -0.2264488935470581, 0.586012601852417, -0.9075050354003906, 0.6195446252822876, 0.051894836127758026, 1.60840904712677, 0.00519373407587409, 0.6236796975135803, ...
func (g *GitLocal) ForcePushBranch(dir string, localBranch string, remoteBranch string) error { return g.GitFake.ForcePushBranch(dir, localBranch, remoteBranch) }
[ 0.0796385407447815, 0.509934663772583, 0.4303808808326721, 0.5291969776153564, 0.32402360439300537, 0.746671199798584, -1.035171389579773, -0.23200422525405884, -0.09646312892436981, 0.23151904344558716, -0.6100921630859375, 1.1138054132461548, -0.2534257173538208, 1.8017878532409668, 0....
func (g *GitLocal) PushMaster(dir string) error { return g.GitFake.PushMaster(dir) }
[ -0.3682876527309418, 0.472908079624176, 0.16740404069423676, -0.13237503170967102, -1.1857326030731201, 0.05859307199716568, -0.29585134983062744, 0.623626708984375, 0.06773500144481659, 0.4142555594444275, 0.01614767126739025, 0.9963128566741943, -0.21477515995502472, 0.6649909019470215, ...
func (g *GitLocal) PushTag(dir string, tag string) error { return g.GitFake.PushTag(dir, tag) }
[ 0.3298465311527252, 0.18661367893218994, 0.0860498920083046, 0.15277335047721863, 0.021657146513462067, 0.16910527646541595, -0.27471524477005005, 0.3920832574367523, -0.47715452313423157, 0.8968110680580139, 0.09973815083503723, 0.8806861042976379, 0.39677295088768005, 1.8104337453842163,...
func (g *GitLocal) Add(dir string, args ...string) error { return g.GitCLI.Add(dir, args...) }
[ 0.04569238796830177, 0.09970805794000626, 0.2278304547071457, -0.36033499240875244, 0.4085339307785034, 0.9198157787322998, -0.1136242151260376, 0.5771659016609192, -0.34001022577285767, 0.2785007953643799, 0.14461660385131836, 0.6401606798171997, -0.6356373429298401, 0.5916281938552856, ...
func (g *GitLocal) HasChanges(dir string) (bool, error) { return g.GitCLI.HasChanges(dir) }
[ 0.24728016555309296, 0.7123126983642578, 0.4005588889122009, -0.9780014753341675, -0.29796743392944336, 0.08732409030199051, 0.18768849968910217, 0.3464387059211731, -0.25000566244125366, -0.004080813378095627, -0.6968960165977478, 0.3811500668525696, -0.08706016093492508, 1.23771059513092...
func (g *GitLocal) HasFileChanged(dir string, fileName string) (bool, error) { return g.GitCLI.HasFileChanged(dir, fileName) }
[ 0.7582992315292358, 0.3107805550098419, 0.2797674238681793, -0.4307711124420166, 0.2655239403247833, -0.07421743124723434, 0.26273417472839355, 1.1118905544281006, -1.1620315313339233, -0.30539172887802124, -0.6004197597503662, 0.3717791438102722, 0.4632256329059601, 1.1201906204223633, ...
func (g *GitLocal) CommitIfChanges(dir string, message string) error { return g.GitCLI.CommitIfChanges(dir, message) }
[ 0.34532472491264343, -0.0643620491027832, 0.14566262066364288, -0.17431817948818207, -0.38004571199417114, 0.1341884434223175, 0.19587811827659607, -0.6636481285095215, -0.2527935206890106, 1.1672152280807495, 0.26408299803733826, 0.9488617181777954, -1.2104673385620117, 1.3021215200424194...
func (g *GitLocal) CommitDir(dir string, message string) error { return g.GitCLI.CommitDir(dir, message) }
[ -0.07000897079706192, -0.23736035823822021, 0.24444319307804108, -0.3142882287502289, -0.3169715106487274, 0.9013193845748901, 0.5487518310546875, 0.37131306529045105, -0.5975307822227478, 0.6784523725509644, 0.7806373238563538, 0.5301098823547363, -0.9907664060592651, 1.4585498571395874, ...
func (g *GitLocal) AddCommit(dir string, msg string) error { return g.GitCLI.AddCommit(dir, msg) }
[ 0.61107337474823, 0.19546066224575043, 0.4081919193267822, 0.01886318437755108, 0.17862845957279205, -0.14960967004299164, -0.3062683641910553, -0.07196193188428879, -1.0735712051391602, 0.17245081067085266, 0.5184980630874634, 0.05751453712582588, -0.6992210745811462, 0.997937023639679, ...
func (g *GitLocal) CreateAuthenticatedURL(cloneURL string, userAuth *auth.UserAuth) (string, error) { return g.GitCLI.CreateAuthenticatedURL(cloneURL, userAuth) }
[ 0.257768452167511, -0.009676355868577957, 0.00587826780974865, 0.7480712532997131, -0.6414875984191895, 1.0047252178192139, 0.007859315723180771, -0.2993953824043274, 0.5608127117156982, 0.2517993748188019, -1.0327692031860352, 1.0877121686935425, -0.2596435844898224, -0.4863092005252838, ...
func (g *GitLocal) AddCommitFiles(dir string, msg string, files []string) error { return g.GitCLI.AddCommitFiles(dir, msg, files) }
[ -0.1982441246509552, 0.2415904402732849, 0.4383309483528137, 0.1526913046836853, 0.7038304209709167, 0.567307710647583, 0.42304351925849915, 0.6859860420227051, -0.5479973554611206, 0.6070048213005066, 0.0965132862329483, -0.2994639277458191, -1.7934017181396484, 0.5688457489013672, -0.8...
func (g *GitLocal) RepoName(org, repoName string) string { return g.GitCLI.RepoName(org, repoName) }
[ 0.01908256858587265, -0.04694421961903572, 0.2819434404373169, -0.3762873709201813, -1.105185627937317, -0.17630651593208313, -0.7745011448860168, 0.3494834899902344, -0.8988291025161743, 1.6979514360427856, -0.7353329658508301, -0.476900190114975, 0.21350154280662537, -0.8237990736961365,...
func (g *GitLocal) Server(dir string) (string, error) { return g.GitCLI.Server(dir) }
[ -0.8602548241615295, -0.6510207653045654, 0.013262934982776642, -0.3735019266605377, -0.12668362259864807, 0.6923567056655884, 0.32316887378692627, 0.07642500847578049, -0.5959600210189819, 0.6513521671295166, -0.6118006706237793, 0.16336888074874878, -0.7375548481941223, 0.466427177190780...
func (g *GitLocal) Info(dir string) (*GitRepository, error) { return g.GitCLI.Info(dir) }
[ 0.0986877828836441, 0.2555429935455322, 0.1691584289073944, -1.3068695068359375, -0.6877033710479736, -0.5056499242782593, 0.17155328392982483, -0.010485321283340454, -0.5900097489356995, 0.2584342956542969, -0.2468666285276413, 0.08814235776662827, 0.3001522421836853, 0.01894482783973217,...
func (g *GitLocal) ConvertToValidBranchName(name string) string { return g.GitCLI.ConvertToValidBranchName(name) }
[ 1.0523751974105835, -0.6770462989807129, 0.2989794611930847, -0.37067538499832153, -0.7214449048042297, 0.22600199282169342, -0.5844529867172241, -0.48149460554122925, -0.1716582477092743, 1.011458396911621, -0.4642341136932373, 0.36987239122390747, -0.17500442266464233, -0.101658761501312...
func (g *GitLocal) FetchBranch(dir string, repo string, refspec ...string) error { return g.GitFake.FetchBranch(dir, repo, refspec...) }
[ 0.5813977718353271, 0.4431615173816681, 0.03708867356181145, 1.0782310962677002, 0.007838265970349312, 0.8984530568122864, 0.18279044330120087, -0.1401101052761078, -0.030967285856604576, -0.10460640490055084, 0.40362998843193054, 1.4784924983978271, 0.5506643652915955, 0.930303156375885, ...
func (g *GitLocal) FetchBranchShallow(dir string, repo string, refspec ...string) error { return g.GitFake.FetchBranchShallow(dir, repo, refspec...) }
[ 0.9919987320899963, 0.6950823068618774, 0.25131988525390625, 0.45962396264076233, -0.41207975149154663, 0.34809795022010803, -0.16452747583389282, -0.554909884929657, 0.18359890580177307, -0.43516647815704346, 0.6300888061523438, 1.0567190647125244, 0.25457870960235596, 0.5023850798606873,...
func (g *GitLocal) FetchBranchUnshallow(dir string, repo string, refspec ...string) error { return g.GitFake.FetchBranch(dir, repo, refspec...) }
[ 0.5599732995033264, 0.7003111243247986, 0.2757326364517212, 0.2608261704444885, -0.2817688286304474, 0.11051807552576065, -0.2179432213306427, -0.06866056472063065, -0.015483569353818893, -0.4665425717830658, 0.4396812319755554, 1.0089551210403442, 0.08971374481916428, 0.39460042119026184,...
func (g *GitLocal) GetAuthorEmailForCommit(dir string, sha string) (string, error) { return g.GitCLI.GetAuthorEmailForCommit(dir, sha) }
[ 1.032613754272461, -0.47983601689338684, 0.3519943058490753, -0.1548246294260025, 0.009873885661363602, -0.21588782966136932, 0.10119087994098663, 0.3020801544189453, -1.2367627620697021, 0.4203753173351288, 1.33420729637146, 1.3277422189712524, 0.027508901432156563, -0.3849325180053711, ...
func (g *GitLocal) SetRemoteURL(dir string, name string, gitURL string) error { return g.GitCLI.SetRemoteURL(dir, name, gitURL) }
[ -0.039125707000494, -0.12892305850982666, 0.367344468832016, -0.2741369605064392, -0.9247264862060547, 0.8710116744041443, -0.6615272164344788, 0.027933984994888306, -0.2064070999622345, 0.7118831276893616, -1.5952370166778564, 1.0245048999786377, -0.46848440170288086, -0.02931686118245124...
func (g *GitLocal) DiscoverRemoteGitURL(gitConf string) (string, error) { return g.GitCLI.DiscoverRemoteGitURL(gitConf) }
[ 0.9933491945266724, 0.4433616101741791, 0.39776885509490967, 0.0021013093646615744, -1.0039610862731934, 0.630346417427063, -0.5404813289642334, 0.011680870316922665, -1.2987356185913086, 0.6408395171165466, -1.4032070636749268, 0.787102997303009, -0.5075425505638123, 0.8254610300064087, ...
func (g *GitLocal) DiscoverUpstreamGitURL(gitConf string) (string, error) { return g.GitCLI.DiscoverUpstreamGitURL(gitConf) }
[ 0.9723378419876099, 0.5408820509910583, 0.4344623386859894, -0.33290278911590576, -0.61208176612854, 0.032285626977682114, 0.26094040274620056, -0.1401902437210083, -0.7604172229766846, 0.5197331309318542, -0.5578906536102295, 0.9727333188056946, 0.0743931382894516, 1.457525372505188, -0...
func (g *GitLocal) GetRemoteUrl(config *gitcfg.Config, name string) string { return g.GitCLI.GetRemoteUrl(config, name) }
[ 0.5842478275299072, 0.16327597200870514, 0.6198042631149292, 0.1214437484741211, -0.9188138246536255, 0.7406654953956604, -0.6999564170837402, -0.06440674513578415, -0.3203183710575104, 1.1604106426239014, -1.4561047554016113, 0.7274458408355713, -0.6138316988945007, -0.11582733690738678, ...
func (g *GitLocal) RemoteBranchNames(dir string, prefix string) ([]string, error) { return g.GitCLI.RemoteBranchNames(dir, prefix) }
[ -0.41670936346054077, 0.18733780086040497, 0.378184974193573, 0.04326155036687851, -0.901300311088562, 0.8932852149009705, -1.2701256275177002, -0.2470114678144455, -0.4447173476219177, 0.7735476493835449, -1.499653697013855, 0.771035373210907, -0.9084569811820984, 0.10536724328994751, -...
func (g *GitLocal) RemoteMergedBranchNames(dir string, prefix string) ([]string, error) { return g.GitCLI.RemoteMergedBranchNames(dir, prefix) }
[ -0.836380124092102, 0.0658385381102562, 0.4032776653766632, 0.03990185260772705, -0.297982782125473, 1.0966242551803589, -1.0366092920303345, -0.5323458313941956, -0.1709919422864914, 0.09562931209802628, -1.6512340307235718, 0.2933187484741211, -0.9584146738052368, 0.32638683915138245, ...
func (g *GitLocal) GetCommitPointedToByPreviousTag(dir string) (string, string, error) { return g.GitCLI.GetCommitPointedToByPreviousTag(dir) }
[ 0.3745819330215454, -0.7899540662765503, 0.43493643403053284, -0.1599528193473816, 0.6966870427131653, -0.9206201434135437, 1.0169929265975952, -0.7034491300582886, -0.6601263284683228, 0.941380500793457, 0.022189347073435783, 0.35093918442726135, -0.5063299536705017, 1.0333294868469238, ...
func (g *GitLocal) GetRevisionBeforeDate(dir string, t time.Time) (string, error) { return g.GitCLI.GetRevisionBeforeDate(dir, t) }
[ 0.42387256026268005, 0.7344924807548523, 0.4977875053882599, -0.305061012506485, -0.6086459159851074, -0.3928755819797516, -0.38162192702293396, -0.23816560208797455, 0.18119055032730103, 0.02358141914010048, -0.30979281663894653, 0.5460423231124878, 0.12249226123094559, 0.0911854058504104...
func (g *GitLocal) GetRevisionBeforeDateText(dir string, dateText string) (string, error) { return g.GitCLI.GetRevisionBeforeDateText(dir, dateText) }
[ 0.1957537978887558, 0.5516960620880127, 0.4883829355239868, -0.6577808260917664, -1.4038642644882202, -0.030293764546513557, -0.49479150772094727, -0.2672027051448822, 0.38249900937080383, -0.028952881693840027, -0.42599332332611084, 0.7051621079444885, -0.27251189947128296, -0.23311507701...
func (g *GitLocal) GetCommitPointedToByLatestTag(dir string) (string, string, error) { return g.GitCLI.GetCommitPointedToByLatestTag(dir) }
[ -0.18338167667388916, -1.2299954891204834, 0.2371627241373062, -0.1829412579536438, 0.5281563997268677, -0.35804057121276855, 0.317648321390152, -0.47153112292289734, -0.5909277200698853, 1.2973321676254272, -0.02967636100947857, 0.06805814802646637, 0.33747512102127075, 0.9280005693435669...
func (g *GitLocal) GetCommitPointedToByTag(dir string, tag string) (string, error) { return g.GitCLI.GetCommitPointedToByTag(dir, tag) }
[ 0.7408372163772583, -1.347200870513916, 0.06576874107122421, -0.525657057762146, 0.3523659110069275, -0.49054932594299316, 0.7665445804595947, -0.5871584415435791, -0.7770211696624756, 0.9213401675224304, 0.424332857131958, 0.6295316815376282, -0.4422801733016968, 0.36579060554504395, 0....
func (g *GitLocal) GetLatestCommitMessage(dir string) (string, error) { return g.GitCLI.GetLatestCommitMessage(dir) }
[ -0.6197512745857239, -0.6943442225456238, 0.4961782395839691, -0.6233034729957581, 0.6822665929794312, -0.05087748169898987, 0.19205033779144287, -0.4423503875732422, -0.9739095568656921, 0.5832915306091309, 0.5102170705795288, 0.6134039759635925, -1.227055311203003, 1.0190335512161255, ...
func (g *GitLocal) FetchTags(dir string) error { return g.GitFake.FetchTags(dir) }
[ 0.5750977396965027, 0.9222490787506104, 0.09013813734054565, 0.22290076315402985, -0.4505957365036011, -0.30403175950050354, -0.382032573223114, -0.6221613883972168, -0.6750266551971436, 0.7713236808776855, -0.6142380833625793, 1.2367385625839233, 0.5122528672218323, 1.4589823484420776, ...
func (g *GitLocal) FetchRemoteTags(dir string, repo string) error { return g.GitFake.FetchRemoteTags(dir, repo) }
[ 0.7779931426048279, 0.4589778482913971, 0.24495181441307068, -0.18651187419891357, -0.7377557754516602, 0.3593618869781494, -1.15507173538208, -0.42190417647361755, -0.3739960491657257, 1.0646486282348633, -1.6661205291748047, 1.3528449535369873, -0.13996382057666779, 0.9300885200500488, ...
func (g *GitLocal) Tags(dir string) ([]string, error) { return g.GitCLI.Tags(dir) }
[ -0.015092202462255955, 0.4058731198310852, 0.06103552505373955, -0.6428927779197693, 0.30578482151031494, 0.29156211018562317, -0.6992310881614685, 0.21413375437259674, -0.5459413528442383, 0.7894830703735352, -0.8708539605140686, 0.5794172883033752, -0.3079880177974701, 1.0692964792251587...
func (g *GitLocal) FilterTags(dir string, filter string) ([]string, error) { return g.GitCLI.FilterTags(dir, filter) }
[ 0.4875361919403076, 0.7236782908439636, 0.0801868885755539, 0.008381163701415062, -0.6748729944229126, -0.19331765174865723, -0.8592925667762756, -0.42311716079711914, -1.1275485754013062, 0.7947632670402527, -0.4552306830883026, 1.485527753829956, -0.43514442443847656, 0.5914035439491272,...
func (g *GitLocal) CreateTag(dir string, tag string, msg string) error { return g.GitCLI.CreateTag(dir, tag, msg) }
[ 1.002031683921814, 0.055391255766153336, 0.06775553524494171, -0.5401110053062439, 1.3694435358047485, 0.5711802244186401, -0.06332962960004807, 0.25265634059906006, -0.9075335264205933, 0.683158278465271, -0.33934465050697327, -0.03379107266664505, -0.28320083022117615, 1.4229400157928467...
func (g *GitLocal) PrintCreateRepositoryGenerateAccessToken(server *auth.AuthServer, username string, o io.Writer) { g.GitCLI.PrintCreateRepositoryGenerateAccessToken(server, username, o) }
[ -0.13356734812259674, -0.05414951965212822, 0.24979346990585327, -0.8652706742286682, -0.4913327991962433, 0.7351732850074768, 1.3377470970153809, 0.20590758323669434, -0.5209403038024902, -0.500926673412323, 0.2154281735420227, 1.164454460144043, 0.5230186581611633, 0.1760544329881668, ...
func (g *GitLocal) IsFork(dir string) (bool, error) { return g.GitCLI.IsFork(dir) }
[ -0.19574253261089325, 0.5317651629447937, 0.29561689496040344, 0.5570349097251892, -0.2075835019350052, -0.5563144683837891, 0.5874240398406982, -0.35538020730018616, 0.5231600403785706, -0.2052072137594223, -0.324393630027771, 1.181362509727478, -0.15819337964057922, 1.0644662380218506, ...
func (g *GitLocal) Version() (string, error) { return g.GitCLI.Version() }
[ 0.8316637873649597, -0.6688282489776611, 0.014926348812878132, -0.3240406811237335, 0.03170415386557579, 1.0339698791503906, 0.5981032252311707, 0.07527579367160797, -0.8504519462585449, 0.8424004316329956, -0.8075926899909973, -0.45028799772262573, -0.36961817741394043, 0.4412055611610412...
func (g *GitLocal) Username(dir string) (string, error) { // Use GitFake as this is a global setting return g.GitFake.Username(dir) }
[ -0.49644380807876587, 0.14867550134658813, 0.31456229090690613, 0.11457978188991547, -0.9706990122795105, -0.5265690684318542, 1.1415725946426392, 0.8916305899620056, -0.004065214190632105, 0.579808235168457, 0.01321473903954029, 0.35500192642211914, 0.17255240678787231, 0.2027972191572189...
func (g *GitLocal) SetUsername(dir string, username string) error { // Use GitFake as this is a global setting return g.GitFake.SetUsername(dir, username) }
[ -0.5130559802055359, 0.21590109169483185, 0.24310363829135895, 0.5455300807952881, -0.6134127974510193, -0.36574608087539673, 0.8224623203277588, 1.3442573547363281, -0.4031560719013214, 0.46321386098861694, -0.3658905029296875, 0.9478410482406616, 0.01487298496067524, 0.7347894906997681, ...
func (g *GitLocal) Email(dir string) (string, error) { // Use GitFake as this is a global setting return g.GitFake.Email(dir) }
[ -0.6065818667411804, 0.32944032549858093, 0.16995824873447418, -0.32061463594436646, -0.7688291668891907, 0.23210664093494415, 0.46313583850860596, 0.05482638254761696, -0.338549941778183, 0.9962179660797119, 0.09091261774301529, 1.1531301736831665, 0.07452351599931717, 0.3744388222694397,...
func (g *GitLocal) SetEmail(dir string, email string) error { // Use GitFake as this is a global setting return g.GitFake.SetEmail(dir, email) }
[ -0.26578474044799805, 0.5743070840835571, 0.1962718963623047, 0.09827005863189697, -0.17372150719165802, 0.26936373114585876, 0.30326056480407715, 0.9542891383171082, -0.48951590061187744, 0.45135587453842163, 0.2035391926765442, 1.836535096168518, -0.0415835939347744, 0.5787331461906433, ...
func (g *GitLocal) CreateBranch(dir string, branch string) error { return g.GitCLI.CreateBranch(dir, branch) }
[ 0.807450532913208, 0.21434944868087769, 0.11596289277076721, 0.11116858571767807, 0.8221225738525391, 0.9903789162635803, -0.3170085847377777, 0.12051716446876526, 0.03576137125492096, 0.08147593587636948, -0.012112461030483246, 0.5357916951179504, -0.5764819979667664, 0.4501661956310272, ...
func (g *GitLocal) Diff(dir string) (string, error) { return g.GitCLI.Diff(dir) }
[ -0.6003741025924683, 0.004960281308740377, 0.17481175065040588, -0.5106374621391296, -0.5561413168907166, 0.952756404876709, 0.8224284052848816, 0.00411081500351429, -0.07811552286148071, 0.36113250255584717, -0.3574581742286682, 0.2779041528701782, -0.2752147614955902, 0.7280405163764954,...
func (g *GitLocal) ListChangedFilesFromBranch(dir string, branch string) (string, error) { return g.GitCLI.ListChangedFilesFromBranch(dir, branch) }
[ 0.9330307245254517, -0.5632266998291016, 0.37087664008140564, 0.06529529392719269, -0.6419817805290222, -0.29003840684890747, -0.4291473627090454, 0.08077582716941833, 0.08404949307441711, 0.2631925642490387, -0.851283073425293, 1.5126184225082397, -0.8023687601089478, 1.271675944328308, ...
func (g *GitLocal) LoadFileFromBranch(dir string, branch string, file string) (string, error) { return g.GitCLI.LoadFileFromBranch(dir, branch, file) }
[ 1.6766599416732788, -0.04339658096432686, 0.23676209151744843, 0.26204851269721985, -0.9285498857498169, 0.40980619192123413, -1.1886074542999268, 0.15898865461349487, -1.2358126640319824, -0.00914314016699791, -0.032448332756757736, 0.04678914323449135, -0.8592894077301025, 0.371885985136...
func (g *GitLocal) FetchUnshallow(dir string) error { return g.GitFake.FetchUnshallow(dir) }
[ 0.5838998556137085, 0.4444461762905121, 0.2533305883407593, -1.0020076036453247, -0.5284045338630676, -0.3973025381565094, -0.21015401184558868, -0.40839439630508423, 0.3620276153087616, -0.015633143484592438, 0.5166224837303162, 0.6928580403327942, 0.9623623490333557, 1.2763344049453735, ...
func (g *GitLocal) IsShallow(dir string) (bool, error) { return g.GitCLI.IsShallow(dir) }
[ -0.4064737558364868, 1.077465295791626, 0.4221743941307068, -0.5650474429130554, -0.4737728536128998, 0.3799512982368469, 0.27465423941612244, -0.5215907096862793, 0.5423792004585266, 0.20115840435028076, -0.7469378113746643, 1.1488813161849976, -0.3717094659805298, 0.9648512601852417, -...
func (g *GitLocal) CreateBranchFrom(dir string, branchName string, startPoint string) error { return g.GitCLI.CreateBranchFrom(dir, branchName, startPoint) }
[ 1.3128877878189087, -0.6011289358139038, 0.013145244680345058, 0.5387343168258667, 0.26675042510032654, 0.9147587418556213, -0.2441471368074417, 0.06592419743537903, -0.37517011165618896, -0.45719560980796814, -0.15310035645961761, 0.2623477876186371, -0.47347500920295715, 0.15550130605697...
func (g *GitLocal) Merge(dir string, commitish string) error { return g.GitCLI.Merge(dir, commitish) }
[ -0.023609155789017677, 0.5855464935302734, 0.23242415487766266, -0.19131341576576233, 0.3024809658527374, 0.5846942067146301, -0.6697290539741516, 0.5448027849197388, -0.8076454997062683, -0.5444566011428833, -0.40846163034439087, 0.3937021493911743, -1.1248058080673218, 0.2894283831119537...
func (g *GitLocal) GetLatestCommitSha(dir string) (string, error) { return g.GitCLI.GetLatestCommitSha(dir) }
[ 0.14801117777824402, -0.5842961072921753, 0.6052064895629883, -0.2445194125175476, 0.0870271846652031, -0.4518768787384033, 0.5890753865242004, 0.05091352388262749, -0.29669904708862305, 0.2899986207485199, 0.6853570938110352, 0.6381485462188721, 0.033415041863918304, 0.8245311379432678, ...
func (g *GitLocal) GetFirstCommitSha(dir string) (string, error) { return g.GitCLI.GetFirstCommitSha(dir) }
[ 0.4448985457420349, -0.13977575302124023, 0.6002280116081238, -0.2824254035949707, -0.1542179137468338, -0.972693681716919, 0.49418365955352783, -0.22569860517978668, -0.1784178763628006, -0.6991512179374695, 0.8110300302505493, 0.40474581718444824, 0.12436824291944504, 1.351184606552124, ...