Skip to content

The Logfile Reader calls the pluginregistry to find the file or filesystem for the given logfile, this should be part of the logfilereader already and only called once, when the logfile changes #402

@Hirogen

Description

@Hirogen

(LogfileReader.cs)
The Logfile Reader calls the pluginregistry to find the file or filesystem for the given logfile, this should be part of the logfilereader already and only called once, when the logfile changes

        private ILogFileInfo GetLogFileInfo (string fileNameOrUri)
        {
            IFileSystemPlugin fs = _pluginRegistry.FindFileSystemForUri(fileNameOrUri) ?? throw new LogFileException("No file system plugin found for " + fileNameOrUri);
            ILogFileInfo logFileInfo = fs.GetLogfileInfo(fileNameOrUri);
            return logFileInfo ?? throw new LogFileException("Cannot find " + fileNameOrUri);
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    RefactorRefactoring current codeenhancementthis will make things bettergood first issueGood first issue if you are new to developing ;)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions