Skip to content
Draft
Show file tree
Hide file tree
Changes from 4 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
14 changes: 14 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
header:
license:
text: |
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.
paths-ignore:
- 'dist'
- 'licenses'
- '**/*.md'
- 'LICENSE'
- 'NOTICE'
- '.github'
comment: on-failure
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