< Summary - Jellyfin

Information
Class: Jellyfin.MediaEncoding.Keyframes.Matroska.Models.SeekHead
Assembly: Jellyfin.MediaEncoding.Keyframes
File(s): /srv/git/jellyfin/src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/SeekHead.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 35
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%210%

File(s)

/srv/git/jellyfin/src/Jellyfin.MediaEncoding.Keyframes/Matroska/Models/SeekHead.cs

#LineLine coverage
 1namespace Jellyfin.MediaEncoding.Keyframes.Matroska.Models;
 2
 3/// <summary>
 4/// The matroska SeekHead segment. All positions are relative to the Segment container.
 5/// </summary>
 6internal class SeekHead
 7{
 8    /// <summary>
 9    /// Initializes a new instance of the <see cref="SeekHead"/> class.
 10    /// </summary>
 11    /// <param name="infoPosition">The relative file position of the info segment.</param>
 12    /// <param name="tracksPosition">The relative file position of the tracks segment.</param>
 13    /// <param name="cuesPosition">The relative file position of the cues segment.</param>
 14    public SeekHead(long infoPosition, long tracksPosition, long cuesPosition)
 015    {
 16        InfoPosition = infoPosition;
 17        TracksPosition = tracksPosition;
 18        CuesPosition = cuesPosition;
 019    }
 20
 21    /// <summary>
 22    /// Gets relative file position of the info segment.
 23    /// </summary>
 24    public long InfoPosition { get; }
 25
 26    /// <summary>
 27    /// Gets the relative file position of the tracks segment.
 28    /// </summary>
 29    public long TracksPosition { get; }
 30
 31    /// <summary>
 32    /// Gets the relative file position of the cues segment.
 33    /// </summary>
 34    public long CuesPosition { get; }
 35}