From 002bea4cdaae4e68db42323f6001a4e238746aaa Mon Sep 17 00:00:00 2001 From: Nicolas Schweitzer Date: Tue, 28 Apr 2026 12:06:35 +0200 Subject: [PATCH] Rewrite internal imports from hectane/go-acl to DataDog/go-acl Updates apply.go and util.go to import the api subpackage from this fork's path instead of upstream's. Without this, consumers importing github.com/DataDog/go-acl still transitively pull github.com/hectane/go-acl/api from upstream, defeating the supply-chain goal of the fork (a self-contained, tagged release). Also updates README examples and the GoDoc badge to reference the fork. --- README.md | 6 +++--- apply.go | 2 +- util.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 58adf97..3ec31fc 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## go-acl [![Build status](https://ci.appveyor.com/api/projects/status/rbdyu7c39o2j0ru9?svg=true)](https://ci.appveyor.com/project/nathan-osman/go-acl) -[![GoDoc](https://godoc.org/github.com/hectane/go-acl?status.svg)](https://godoc.org/github.com/hectane/go-acl) +[![GoDoc](https://godoc.org/github.com/DataDog/go-acl?status.svg)](https://godoc.org/github.com/DataDog/go-acl) [![MIT License](http://img.shields.io/badge/license-MIT-9370d8.svg?style=flat)](http://opensource.org/licenses/MIT) Manipulating ACLs (Access Control Lists) on Windows is difficult. go-acl wraps the Windows API functions that control access to objects, simplifying the process. @@ -11,7 +11,7 @@ Manipulating ACLs (Access Control Lists) on Windows is difficult. go-acl wraps t To use the package add the following imports: import ( - "github.com/hectane/go-acl" + "github.com/DataDog/go-acl" "golang.org/x/sys/windows" ) @@ -40,7 +40,7 @@ To grant read access to user "Alice" and deny write access to user "Bob": go-acl's `api` package exposes the individual Windows API functions that are used to manipulate ACLs. For example, to retrieve the current owner of a file: import ( - "github.com/hectane/go-acl/api" + "github.com/DataDog/go-acl/api" "golang.org/x/sys/windows" ) diff --git a/apply.go b/apply.go index 6f4b55f..cfef8af 100644 --- a/apply.go +++ b/apply.go @@ -3,7 +3,7 @@ package acl import ( - "github.com/hectane/go-acl/api" + "github.com/DataDog/go-acl/api" "golang.org/x/sys/windows" "unsafe" diff --git a/util.go b/util.go index fc02c5e..9fc9d0b 100644 --- a/util.go +++ b/util.go @@ -3,7 +3,7 @@ package acl import ( - "github.com/hectane/go-acl/api" + "github.com/DataDog/go-acl/api" "golang.org/x/sys/windows" "unsafe"