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 modifyContent
 8func _modifyContent(filepathPtr, filepathSsize uint32, contentPtr, contentSize uint32)
 9
10//go:wasmimport gitroot modifyWebContent
11func _modifyWebContent(filepathPtr, filepathSsize uint32, contentPtr, contentSize uint32)
12
13//go:wasmimport gitroot modifyCacheContent
14func _modifyCacheContent(filepathPtr, filepathSsize uint32, contentPtr, contentSize uint32)
15
16//go:wasmimport gitroot commitAll
17func _commitAll(messagePtr, messageSize uint32)
18
19//go:wasmimport gitroot diffWithParent
20func _diffWithParent(filePtr, fileSize, hashPtr, hashSize, resPtr uint32) (resSize uint32)
21
22//go:wasmimport gitroot log
23func _log(messagePtr, messageSize uint32)
24
25//go:wasmimport gitroot logError
26func _logError(messagePtr, messageSize, errPtr, errSize uint32)
27
28//go:wasmimport gitroot merge
29func _merge(fromPtr, fromSize, toPtr, toSize uint32)