Skip to content
Draft
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/common-workflows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@
common:
name: Quality Checks
uses: dell/common-github-actions/.github/workflows/go-common.yml@main

check-license-header:
name: Check License Header
uses: dell/common-github-actions/.github/workflows/check-license-header.yaml@feature/license-validation

Check failure on line 22 in .github/workflows/common-workflows.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

22:3 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 22 in .github/workflows/common-workflows.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

22:1 [trailing-spaces] trailing spaces
28 changes: 28 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
header:
license:
spdx-id: Apache-2.0
copyright-owner: Dell Technologies
content:

Check failure on line 5 in .licenserc.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

5:13 [trailing-spaces] trailing spaces
Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved.

Check failure on line 6 in .licenserc.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

6:9 [indentation] wrong indentation: expected 6 but found 8
Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Other trademarks may be trademarks of their respective owners.
pattern:

Check failure on line 9 in .licenserc.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

9:13 [trailing-spaces] trailing spaces
Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved.

Check failure on line 10 in .licenserc.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

10:9 [indentation] wrong indentation: expected 6 but found 8
Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Other trademarks may be trademarks of their respective owners.
paths-ignore:
- 'dist'
- 'licenses'
- '**/*.md'
- 'LICENSE'
- 'NOTICE'
- '.github'
- '.gitignore'
- 'go.mod'
- 'go.sum'
- '.licenserc.yaml'
comment: on-failure
dependency:
files:
- go.mod # If this is a Go project.

Check failure on line 28 in .licenserc.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

28:1 [empty-lines] too many blank lines (1 > 0)
14 changes: 3 additions & 11 deletions gofsutil_fs.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
// Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved.
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
// Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved.

// Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries.
// Other trademarks may be trademarks of their respective owners.

package gofsutil

Expand Down
1 change: 1 addition & 0 deletions gofsutil_mount_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

package gofsutil

// test package
import (
"context"
"errors"
Expand Down
Loading