MainOps

scalafix.internal.v1.MainOps
object MainOps

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
MainOps.type

Members list

Type members

Classlikes

final class StaleSemanticDB(val path: AbsolutePath, val diff: String) extends Exception, NoStackTrace

Attributes

Supertypes
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def adjustExitCode(args: ValidatedArgs, code: ExitStatus, files: Seq[AbsolutePath]): ExitStatus
def applyDiff(args: ValidatedArgs, file: AbsolutePath, fixed: String): Try[ExitStatus]
def applyPatches(args: ValidatedArgs, patches: Seq[Patch], ctx: RuleCtx, index: Option[SemanticdbIndex], file: AbsolutePath): Try[ExitStatus]
def assertFreshSemanticDB(input: Input, file: AbsolutePath, fix: String, doc: TextDocument): Unit
def getFilesFrom(args: ValidatedArgs): Seq[AbsolutePath]
def handleException(ex: Throwable, out: PrintStream): Unit
def handleFile(args: ValidatedArgs, file: AbsolutePath): ExitStatus
def helpMessage(out: PrintStream, width: Int): Unit
def helpMessage(width: Int): String
def markdownish(text: String): Doc

Line wrap prose while keeping markdown code fences unchanged.

Line wrap prose while keeping markdown code fences unchanged.

Attributes

def options(width: Int): String
def run(args: Array[String], base: Args): ExitStatus
def unsafeHandleFile(args: ValidatedArgs, file: AbsolutePath): ExitStatus
def usage: String