GitRoot
craft your forge, build your project, grow your community freely
1// SPDX-FileCopyrightText: 2025 Romain Maneschi <romain@gitroot.dev>
2//
3// SPDX-License-Identifier: MIT
4
5package gitroot
6
7//go:wasmimport gitroot forgeConf
8func _forgeConf() (ptrSize uint64)
9
10//go:wasmimport gitroot modifyContent
11func _modifyContent(filepathPtr, filepathSsize uint32, contentPtr, contentSize uint32)
12
13//go:wasmimport gitroot modifyWebContent
14func _modifyWebContent(filepathPtr, filepathSsize uint32, contentPtr, contentSize uint32)
15
16//go:wasmimport gitroot replaceWebContent
17func _replaceWebContent(filepathPtr, filepathSsize uint32, oldContentPtr, oldContentSize uint32, contentPtr, contentSize uint32)
18
19//go:wasmimport gitroot modifyCacheContent
20func _modifyCacheContent(filepathPtr, filepathSsize uint32, contentPtr, contentSize uint32)
21
22//go:wasmimport gitroot commitAll
23func _commitAll(messagePtr, messageSize uint32)
24
25//go:wasmimport gitroot diffWithParent
26func _diffWithParent(hashPtr, hashSize, oldfilePtr, oldfileSize, newfilePtr, newfileSize uint32) (ptrSize uint64)
27
28//go:wasmimport gitroot log
29func _log(messagePtr, messageSize uint32)
30
31//go:wasmimport gitroot logError
32func _logError(messagePtr, messageSize, errPtr, errSize uint32)
33
34//go:wasmimport gitroot merge
35func _merge(fromPtr, fromSize, toPtr, toSize uint32)
36
37//go:wasmimport gitroot commits
38func _commits(fromPtr, fromSize, toPtr, toSize uint32) (ptrSize uint64)