Skip to content

Commit 9e6ab83

Browse files
committed
Relicense under GPL-3.0
1 parent 938583a commit 9e6ab83

20 files changed

+937
-682
lines changed

LICENSE

Lines changed: 617 additions & 282 deletions
Large diffs are not rendered by default.

constructors.go

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
1-
/*
2-
* This file is part of PathsHelper library.
3-
*
4-
* Copyright 2018 Arduino AG (http://www.arduino.cc/)
5-
*
6-
* PathsHelper library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this program; if not, write to the Free Software
18-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19-
*
20-
* As a special exception, you may use this file as part of a free software
21-
* library without restriction. Specifically, if other files instantiate
22-
* templates or use macros or inline functions from this file, or you compile
23-
* this file and link it with other files to produce an executable, this
24-
* file does not by itself cause the resulting executable to be covered by
25-
* the GNU General Public License. This exception does not however
26-
* invalidate any other reasons why the executable file might be covered by
27-
* the GNU General Public License.
28-
*/
1+
// This file is part of PathsHelper library.
2+
//
3+
// Copyright 2018-2025 Arduino AG (http://www.arduino.cc/)
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
//
18+
// You can be released from the requirements of the above licenses by purchasing
19+
// a commercial license. Buying such a license is mandatory if you want to
20+
// modify or otherwise use the software for commercial activities involving the
21+
// Arduino software without disclosing the source code of your own applications.
22+
// To purchase a commercial license, send an email to [email protected].
2923

3024
package paths
3125

doc.go

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// This file is part of PathsHelper library.
2+
//
3+
// Copyright 2018-2025 Arduino AG (http://www.arduino.cc/)
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
//
18+
// You can be released from the requirements of the above licenses by purchasing
19+
// a commercial license. Buying such a license is mandatory if you want to
20+
// modify or otherwise use the software for commercial activities involving the
21+
// Arduino software without disclosing the source code of your own applications.
22+
// To purchase a commercial license, send an email to [email protected].
23+
24+
// Paths is a library that provides a set of utilities to work with file paths in a platform-independent way.
25+
// It includes functions for creating temporary directories and files, handling null paths, and more.
26+
// It is designed to be used in Go applications that require file system operations without worrying about
27+
// platform-specific details.
28+
package paths

gzip.go

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
1-
/*
2-
* This file is part of PathsHelper library.
3-
*
4-
* Copyright 2021 Arduino AG (http://www.arduino.cc/)
5-
*
6-
* PathsHelper library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this program; if not, write to the Free Software
18-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19-
*
20-
* As a special exception, you may use this file as part of a free software
21-
* library without restriction. Specifically, if other files instantiate
22-
* templates or use macros or inline functions from this file, or you compile
23-
* this file and link it with other files to produce an executable, this
24-
* file does not by itself cause the resulting executable to be covered by
25-
* the GNU General Public License. This exception does not however
26-
* invalidate any other reasons why the executable file might be covered by
27-
* the GNU General Public License.
28-
*/
1+
// This file is part of PathsHelper library.
2+
//
3+
// Copyright 2018-2025 Arduino AG (http://www.arduino.cc/)
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
//
18+
// You can be released from the requirements of the above licenses by purchasing
19+
// a commercial license. Buying such a license is mandatory if you want to
20+
// modify or otherwise use the software for commercial activities involving the
21+
// Arduino software without disclosing the source code of your own applications.
22+
// To purchase a commercial license, send an email to [email protected].
2923

3024
package paths
3125

gzip_test.go

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
1-
/*
2-
* This file is part of PathsHelper library.
3-
*
4-
* Copyright 2021 Arduino AG (http://www.arduino.cc/)
5-
*
6-
* PathsHelper library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this program; if not, write to the Free Software
18-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19-
*
20-
* As a special exception, you may use this file as part of a free software
21-
* library without restriction. Specifically, if other files instantiate
22-
* templates or use macros or inline functions from this file, or you compile
23-
* this file and link it with other files to produce an executable, this
24-
* file does not by itself cause the resulting executable to be covered by
25-
* the GNU General Public License. This exception does not however
26-
* invalidate any other reasons why the executable file might be covered by
27-
* the GNU General Public License.
28-
*/
1+
// This file is part of PathsHelper library.
2+
//
3+
// Copyright 2018-2025 Arduino AG (http://www.arduino.cc/)
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
//
18+
// You can be released from the requirements of the above licenses by purchasing
19+
// a commercial license. Buying such a license is mandatory if you want to
20+
// modify or otherwise use the software for commercial activities involving the
21+
// Arduino software without disclosing the source code of your own applications.
22+
// To purchase a commercial license, send an email to [email protected].
2923

3024
package paths
3125

json.go

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
1-
/*
2-
* This file is part of PathsHelper library.
3-
*
4-
* Copyright 2018 Arduino AG (http://www.arduino.cc/)
5-
*
6-
* PathsHelper library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this program; if not, write to the Free Software
18-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19-
*
20-
* As a special exception, you may use this file as part of a free software
21-
* library without restriction. Specifically, if other files instantiate
22-
* templates or use macros or inline functions from this file, or you compile
23-
* this file and link it with other files to produce an executable, this
24-
* file does not by itself cause the resulting executable to be covered by
25-
* the GNU General Public License. This exception does not however
26-
* invalidate any other reasons why the executable file might be covered by
27-
* the GNU General Public License.
28-
*/
1+
// This file is part of PathsHelper library.
2+
//
3+
// Copyright 2018-2025 Arduino AG (http://www.arduino.cc/)
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
//
18+
// You can be released from the requirements of the above licenses by purchasing
19+
// a commercial license. Buying such a license is mandatory if you want to
20+
// modify or otherwise use the software for commercial activities involving the
21+
// Arduino software without disclosing the source code of your own applications.
22+
// To purchase a commercial license, send an email to [email protected].
2923

3024
package paths
3125

list.go

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
1-
/*
2-
* This file is part of PathsHelper library.
3-
*
4-
* Copyright 2018 Arduino AG (http://www.arduino.cc/)
5-
*
6-
* PathsHelper library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this program; if not, write to the Free Software
18-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19-
*
20-
* As a special exception, you may use this file as part of a free software
21-
* library without restriction. Specifically, if other files instantiate
22-
* templates or use macros or inline functions from this file, or you compile
23-
* this file and link it with other files to produce an executable, this
24-
* file does not by itself cause the resulting executable to be covered by
25-
* the GNU General Public License. This exception does not however
26-
* invalidate any other reasons why the executable file might be covered by
27-
* the GNU General Public License.
28-
*/
1+
// This file is part of PathsHelper library.
2+
//
3+
// Copyright 2018-2025 Arduino AG (http://www.arduino.cc/)
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
//
18+
// You can be released from the requirements of the above licenses by purchasing
19+
// a commercial license. Buying such a license is mandatory if you want to
20+
// modify or otherwise use the software for commercial activities involving the
21+
// Arduino software without disclosing the source code of your own applications.
22+
// To purchase a commercial license, send an email to [email protected].
2923

3024
package paths
3125

list_test.go

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
1-
/*
2-
* This file is part of PathsHelper library.
3-
*
4-
* Copyright 2018 Arduino AG (http://www.arduino.cc/)
5-
*
6-
* PathsHelper library is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this program; if not, write to the Free Software
18-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19-
*
20-
* As a special exception, you may use this file as part of a free software
21-
* library without restriction. Specifically, if other files instantiate
22-
* templates or use macros or inline functions from this file, or you compile
23-
* this file and link it with other files to produce an executable, this
24-
* file does not by itself cause the resulting executable to be covered by
25-
* the GNU General Public License. This exception does not however
26-
* invalidate any other reasons why the executable file might be covered by
27-
* the GNU General Public License.
28-
*/
1+
// This file is part of PathsHelper library.
2+
//
3+
// Copyright 2018-2025 Arduino AG (http://www.arduino.cc/)
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
//
18+
// You can be released from the requirements of the above licenses by purchasing
19+
// a commercial license. Buying such a license is mandatory if you want to
20+
// modify or otherwise use the software for commercial activities involving the
21+
// Arduino software without disclosing the source code of your own applications.
22+
// To purchase a commercial license, send an email to [email protected].
2923

3024
package paths
3125

0 commit comments

Comments
 (0)