Browse Source

update module for fork

master
forest 2 months ago
parent
commit
afceea9825
6 changed files with 7 additions and 23 deletions
  1. +2
    -2
      README.md
  2. +1
    -1
      apply.go
  3. +0
    -16
      appveyor.yml
  4. +1
    -1
      getaccessmode.go
  5. +2
    -2
      go.mod
  6. +1
    -1
      util.go

+ 2
- 2
README.md View File

@ -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"
"git.sequentialread.com/forest/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"
"git.sequentialread.com/forest/go-acl/api"
"golang.org/x/sys/windows"
)


+ 1
- 1
apply.go View File

@ -3,7 +3,7 @@
package acl
import (
"github.com/hectane/go-acl/api"
"git.sequentialread.com/forest/go-acl/api"
"golang.org/x/sys/windows"
"unsafe"


+ 0
- 16
appveyor.yml View File

@ -1,16 +0,0 @@
version: '{build}'
clone_folder: C:\gopath\src\github.com\hectane\go-acl
environment:
GOPATH: C:\gopath
install:
- go version
- go env
- go get -t -v ./...
build: off
test_script:
- go test -v ./...

+ 1
- 1
getaccessmode.go View File

@ -5,7 +5,7 @@ import (
"path/filepath"
"unsafe"
"github.com/hectane/go-acl/api"
"git.sequentialread.com/forest/go-acl/api"
"golang.org/x/sys/windows"
)


+ 2
- 2
go.mod View File

@ -1,5 +1,5 @@
module github.com/hectane/go-acl
module git.sequentialread.com/forest/go-acl
go 1.12
go 1.16
require golang.org/x/sys v0.0.0-20190529164535-6a60838ec259

+ 1
- 1
util.go View File

@ -3,7 +3,7 @@
package acl
import (
"github.com/hectane/go-acl/api"
"git.sequentialread.com/forest/go-acl/api"
"golang.org/x/sys/windows"
"unsafe"


Loading…
Cancel
Save