class Dependabot::DependencyFileNotParseable

def directory

def directory
  # Directory should always start with a `/`
  T.must(file_path.split("/")[0..-2]).join("/").sub(%r{^/*}, "/")
end

def file_name

def file_name
  T.must(file_path.split("/").last)
end

def initialize(file_path, msg = nil)

def initialize(file_path, msg = nil)
  @file_path = file_path
  super(msg || "#{file_path} not parseable")
end