Skip to content

Commit

Permalink
Fix file headers
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
  • Loading branch information
ecdye committed Sep 17, 2024
1 parent 10c5738 commit 6df80c4
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .swiftformat
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
--generictypes
--groupedextension "MARK: %c"
--guardelse auto
--header "\n{file}\nmacSup2Srt\n\nCopyright (c) {year} {author.name}\nCreated by {author.name} on {created}.\n"
--header "\n{file}\nmacSup2Srt\n\nCreated by {author.name} on {created}.\nCopyright © {year} {author.name}. All rights reserved.\n"
--hexgrouping 4,8
--hexliteralcase uppercase
--ifdef indent
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/Extensions/DataExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// DataExtensions.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/16/24.

Check warning on line 5 in macSup2Srt/Extensions/DataExtensions.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)

Check warning on line 5 in macSup2Srt/Extensions/DataExtensions.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/Extensions/TextOutputStreamExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// TextOutputStreamExtensions.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/16/24.

Check warning on line 5 in macSup2Srt/Extensions/TextOutputStreamExtensions.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)

Check warning on line 5 in macSup2Srt/Extensions/TextOutputStreamExtensions.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/MKV/EBML/EBML.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// EBML.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/16/24.
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/MKV/EBML/EBMLParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// EBMLParser.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/16/24.
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/MKV/Helpers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Helpers.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/16/24.

Check warning on line 5 in macSup2Srt/MKV/Helpers.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)

Check warning on line 5 in macSup2Srt/MKV/Helpers.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/MKV/MKVParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// MKVParser.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/16/24.
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/MKV/MKVTrack.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// MKVTrack.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/16/24.

Check warning on line 5 in macSup2Srt/MKV/MKVTrack.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)

Check warning on line 5 in macSup2Srt/MKV/MKVTrack.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/PGS/PGS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// PGS.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/2/24.
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import CoreGraphics
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/PGS/PGSError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// PGSError.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/12/24.

Check warning on line 5 in macSup2Srt/PGS/PGSError.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)

Check warning on line 5 in macSup2Srt/PGS/PGSError.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

public enum PGSError: Error {
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/PGS/PGSSubtitle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// PGSSubtitle.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/16/24.

Check warning on line 5 in macSup2Srt/PGS/PGSSubtitle.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)

Check warning on line 5 in macSup2Srt/PGS/PGSSubtitle.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/PGS/Parsers/ODS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// ODS.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/12/24.
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/PGS/Parsers/PDS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// PDS.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/8/24.

Check warning on line 5 in macSup2Srt/PGS/Parsers/PDS.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/PGS/Parsers/RLE.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// RLE.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/2/24.

Check warning on line 5 in macSup2Srt/PGS/Parsers/RLE.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)

Check warning on line 5 in macSup2Srt/PGS/Parsers/RLE.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/SRT/SRT.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// SRT.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/2/24.

Check warning on line 5 in macSup2Srt/SRT/SRT.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/SRT/SrtSubtitle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// SrtSubtitle.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/16/24.

Check warning on line 5 in macSup2Srt/SRT/SrtSubtitle.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)

Check warning on line 5 in macSup2Srt/SRT/SrtSubtitle.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion macSup2Srt/macSup2Srt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// macSup2Srt.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/2/24.
// Copyright © 2024 Ethan Dye. All rights reserved.
//

import ArgumentParser
Expand Down
4 changes: 2 additions & 2 deletions macSup2Srt/macSup2SrtError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// macSup2SrtError.swift
// macSup2Srt
//
// Copyright (c) 2024 Ethan Dye
// Created by Ethan Dye on 9/12/24.
// Created by Ethan Dye on 9/16/24.

Check warning on line 5 in macSup2Srt/macSup2SrtError.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)

Check warning on line 5 in macSup2Srt/macSup2SrtError.swift

View workflow job for this annotation

GitHub Actions / Lint

Use specified source file header template for all files. (fileHeader)
// Copyright © 2024 Ethan Dye. All rights reserved.
//

public enum macSup2SrtError: Error {
Expand Down

0 comments on commit 6df80c4

Please sign in to comment.