Documentation
¶
Overview ¶
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
const (
// ANTLR 4.13.2 version
ANTLR_JAR_URL = "https://www.antlr.org/download/antlr-4.13.2-complete.jar"
)
Variables ¶
var ( ErrGoNotFound = errors.New("please install Go") ErrGoVersion = errors.New("unable to determine Go version") ErrGoVersionUnsupported = errors.New("Go version is not supported") ErrGitNotFound = errors.New("please install Git") ErrGitVersion = errors.New("unable to determine Git version") )
Functions ¶
func CopyFileIfNotExists ¶
CopyFileIfNotExists copies a file from src to dst if dst doesn't exist. Returns error if copy fails or if src doesn't exist.
func ZipDirWithGitIgnore ¶
ZipDirWithGitIgnore creates a zip file from the source directory, excluding files matching .gitignore patterns.