* feat: [OCISDEV-732] acceptance test (#12143) * feat: acceptance test - graph * feat: acceptance test - graph * feat: acceptance test - graph * fix: remove drone * feat: run each behat suite as a separate worker * feat: rename feat: [OCISDEV-740] acceptance test, coverage P0 feat: [OCISDEV-743] build and unit test ci: [ocisdev-730] code quality feat: [OCISDEV-741] local-api-test part 2 feat: [OCISDEV-741] local-api-test, apiSpaces feat: [OCISDEV-744] cli-test feat: [OCISDEV-741] local-api-test, apiCollaboration # Conflicts: # .github/workflows/acceptance-tests.yml # tests/acceptance/run-github.py feat: [OCISDEV-741] integration feat: [OCISDEV-744] build-and-test, lint feat: [OCISDEV-744] e2e-test # Conflicts: # .github/workflows/acceptance-tests.yml feat: [OCISDEV-744] fix apiSearch2 test suite * test [OCISDEV-744]: Run apiSearch2 test suite * Added php8.4-gd to all 4 PHP install lines * test [OCISDEV-744]: Enable all commented tests * test [OCISDEV-744]: Fixed failings * test [OCISDEV-744]: Fixed failings feat: [OCISDEV-744] fix apiOcm test suite * test [OCISDEV-744]: fix apiOcm tests * test [OCISDEV-744]: remove redundant .sh files * test [OCISDEV-744]: remove run-e2e.sh. Fix DRY vialation in run-github.py * test [OCISDEV-744]: documentation fixes --------- Co-authored-by: Deyan Zhekov <deyan.zhekov@kiteworks.com> fix: [OCISDEV-730] actions compliance (#12187) feat: [OCISDEV-786] Split coreApiSharees and coreApiSharePublicLink2 (#12196) feat: [OCISDEV-779] reduce ci duration, libcurl (#12193) * feat: [OCISDEV-779] reduce ci duration, libcurl * feat: [OCISDEV-779] reduce ci duration, libcurl * feat: [OCISDEV-779] reduce ci duration, libcurl * feat: [OCISDEV-779] reduce ci duration, libcurl feat: [OCISDEV-792] reduce ci duration, build-and-run (#12204) * feat: [OCISDEV-792] reduce ci duration, build-and-run * feat: [OCISDEV-792] reduce ci duration, build-and-run * feat: [OCISDEV-792] reduce ci duration, pre-check * feat: [OCISDEV-792] reduce ci duration, pre-check * feat: [OCISDEV-792] reduce ci duration, pre-check * feat: [OCISDEV-792] reduce ci duration, pre-check * feat: [OCISDEV-792] reduce ci duration, pre-check fix: ci, govulncheck stderr (#12219) * fix: ci, govulncheck stderr * fix: ci, litmus flakines feat: [OCISDEV-779] reduce CI duration, PHP-version (#12217) * feat: [OCISDEV-779] reduce CI duration, php-version * feat: [OCISDEV-779] fix flaky test in apiSharingNgShares * feat: [OCISDEV-779] fix flaky preview comparison * feat: [OCISDEV-779] fix flaky preview comparison * feat: [OCISDEV-779] replace manual PHP installation with shivammathur/setup-php action * feat: [OCISDEV-779] fix Pre-checks and generate step * feat: [OCISDEV-779] fix flaky preview comparison * feat: [OCISDEV-779] fix failing test --------- Co-authored-by: Michal Klos <michal.klos@kiteworks.com> * feat: post rebase fix * feat: post rebase fix * feat: post rebase fix
go-billy

The missing interface filesystem abstraction for Go.
Billy implements an interface based on the os standard library, allowing to develop applications without dependency on the underlying storage. Makes it virtually free to implement mocks and testing over filesystem operations.
Billy was born as part of go-git/go-git project.
Installation
import "github.com/go-git/go-billy/v5" // with go modules enabled (GO111MODULE=on or outside GOPATH)
import "github.com/go-git/go-billy" // with go modules disabled
Usage
Billy exposes filesystems using the
Filesystem interface.
Each filesystem implementation gives you a New method, whose arguments depend on
the implementation itself, that returns a new Filesystem.
The following example caches in memory all readable files in a directory from any billy's filesystem implementation.
func LoadToMemory(origin billy.Filesystem, path string) (*memory.Memory, error) {
memory := memory.New()
files, err := origin.ReadDir("/")
if err != nil {
return nil, err
}
for _, file := range files {
if file.IsDir() {
continue
}
src, err := origin.Open(file.Name())
if err != nil {
return nil, err
}
dst, err := memory.Create(file.Name())
if err != nil {
return nil, err
}
if _, err = io.Copy(dst, src); err != nil {
return nil, err
}
if err := dst.Close(); err != nil {
return nil, err
}
if err := src.Close(); err != nil {
return nil, err
}
}
return memory, nil
}
Why billy?
The library billy deals with storage systems and Billy is the name of a well-known, IKEA bookcase. That's it.
License
Apache License Version 2.0, see LICENSE