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 copyFile
11func _copyFile(fromFsPtr, fromFsSize, fromPathPtr, fromPathSize, toFsPtr, toFsSize, toPathPtr, toPathSize uint32) (ptrSize uint64)
12
13//go:wasmimport gitroot deleteFile
14func _deleteFile(fromFsPtr, fromFsSize, fromPathPtr, fromPathSize uint32) uint64
15
16//go:wasmimport gitroot moveFile
17func _moveFile(fromFsPtr, fromFsSize, fromPathPtr, fromPathSize, toFsPtr, toFsSize, toPathPtr, toPathSize uint32) (ptrSize uint64)
18
19//go:wasmimport gitroot replaceContent
20func _replaceContent(fromFsPtr, fromFsSize, filepathPtr, filepathSize, oldContentPtr, oldContentSize, contentPtr, contentSize uint32) (ptrSize uint64)
21
22//go:wasmimport gitroot writeContent
23func _writeContent(fromFsPtr, fromFsSize, filepathPtr, filepathSize, contentPtr, contentSize uint32) (ptrSize uint64)
24
25//go:wasmimport gitroot commitAll
26func _commitAll(messagePtr, messageSize uint32)
27
28//go:wasmimport gitroot diffWithParent
29func _diffWithParent(hashPtr, hashSize, oldfilePtr, oldfileSize, newfilePtr, newfileSize uint32) (ptrSize uint64)
30
31//go:wasmimport gitroot log
32func _log(messagePtr, messageSize uint32)
33
34//go:wasmimport gitroot logError
35func _logError(messagePtr, messageSize, errPtr, errSize uint32)
36
37//go:wasmimport gitroot merge
38func _merge(fromPtr, fromSize, toPtr, toSize uint32)
39
40//go:wasmimport gitroot commits
41func _commits(fromPtr, fromSize, toPtr, toSize uint32) (ptrSize uint64)
42
43//go:wasmimport gitroot exec
44func _exec(ptr, size uint32) (ptrSize uint64)
45
46//go:wasmimport gitroot report
47func _report(ptr, size uint32)
48
49//go:wasmimport gitroot canCall
50func _canCall(ptr, size uint32) (res uint32)
51
52//go:wasmimport gitroot call
53func _call(ptr, size uint32) (ptrSize uint64)
54
55//go:wasmimport gitroot httpClient
56func _httpClient(ptr, size uint32) (ptrSize uint64)