From 7b4377ad9d8a7205416df8d6217ef2b010f89481 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Wed, 22 Jan 2025 16:07:17 +0100 Subject: vendor: delete --- vendor/github.com/chigopher/pathlib/errors.go | 29 --------------------------- 1 file changed, 29 deletions(-) delete mode 100644 vendor/github.com/chigopher/pathlib/errors.go (limited to 'vendor/github.com/chigopher/pathlib/errors.go') diff --git a/vendor/github.com/chigopher/pathlib/errors.go b/vendor/github.com/chigopher/pathlib/errors.go deleted file mode 100644 index 28b6b9a2a..000000000 --- a/vendor/github.com/chigopher/pathlib/errors.go +++ /dev/null @@ -1,29 +0,0 @@ -package pathlib - -import "fmt" - -var ( - // ErrDoesNotImplement indicates that the afero filesystem doesn't - // implement the required interface. - ErrDoesNotImplement = fmt.Errorf("doesn't implement required interface") - // ErrInfoIsNil indicates that a nil os.FileInfo object was provided - ErrInfoIsNil = fmt.Errorf("provided os.Info object was nil") - // ErrInvalidAlgorithm specifies that an unknown algorithm was given for Walk - ErrInvalidAlgorithm = fmt.Errorf("invalid algorithm specified") - // ErrLstatNotPossible specifies that the filesystem does not support lstat-ing - ErrLstatNotPossible = fmt.Errorf("lstat is not possible") - // ErrRelativeTo indicates that we could not make one path relative to another - ErrRelativeTo = fmt.Errorf("failed to make path relative to other") - errWalkControl = fmt.Errorf("walk control") - // ErrSkipSubtree indicates to the walk function that the current subtree of - // directories should be skipped. It's recommended to only use this error - // with the AlgorithmPreOrderDepthFirst algorithm, as many other walk algorithms - // will not respect this error due to the nature of the ordering in which the - // algorithms visit each node of the filesystem tree. - ErrWalkSkipSubtree = fmt.Errorf("skip subtree: %w", errWalkControl) - // ErrStopWalk indicates to the Walk function that the walk should be aborted. - // DEPRECATED: Use ErrWalkStop - ErrStopWalk = ErrWalkStop - // ErrWalkStop indicates to the Walk function that the walk should be aborted. - ErrWalkStop = fmt.Errorf("stop filesystem walk: %w", errWalkControl) -) -- cgit mrf-deployment