Skip to content

Commit

Permalink
api dump and format
Browse files Browse the repository at this point in the history
  • Loading branch information
mgroth0 committed Dec 24, 2024
1 parent 0de1747 commit f23550b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ktlint-rule-engine/api/ktlint-rule-engine.api
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ public final class com/pinterest/ktlint/rule/engine/api/Code {
public static final field Companion Lcom/pinterest/ktlint/rule/engine/api/Code$Companion;
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/nio/file/Path;ZZLkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun fileNameOrStdin ()Ljava/lang/String;
public final fun filePathOrFileNameOrStdin ()Ljava/lang/String;
public final fun filePathOrStdin ()Ljava/lang/String;
public final fun getContent ()Ljava/lang/String;
public final fun getFileName ()Ljava/lang/String;
Expand All @@ -13,8 +14,8 @@ public final class com/pinterest/ktlint/rule/engine/api/Code {
public final class com/pinterest/ktlint/rule/engine/api/Code$Companion {
public final fun fromFile (Ljava/io/File;)Lcom/pinterest/ktlint/rule/engine/api/Code;
public final fun fromPath (Ljava/nio/file/Path;)Lcom/pinterest/ktlint/rule/engine/api/Code;
public final fun fromSnippet (Ljava/lang/String;Z)Lcom/pinterest/ktlint/rule/engine/api/Code;
public static synthetic fun fromSnippet$default (Lcom/pinterest/ktlint/rule/engine/api/Code$Companion;Ljava/lang/String;ZILjava/lang/Object;)Lcom/pinterest/ktlint/rule/engine/api/Code;
public final fun fromSnippet (Ljava/lang/String;ZLjava/lang/String;)Lcom/pinterest/ktlint/rule/engine/api/Code;
public static synthetic fun fromSnippet$default (Lcom/pinterest/ktlint/rule/engine/api/Code$Companion;Ljava/lang/String;ZLjava/lang/String;ILjava/lang/Object;)Lcom/pinterest/ktlint/rule/engine/api/Code;
public final fun fromSnippetWithPath (Ljava/lang/String;Ljava/nio/file/Path;)Lcom/pinterest/ktlint/rule/engine/api/Code;
public static synthetic fun fromSnippetWithPath$default (Lcom/pinterest/ktlint/rule/engine/api/Code$Companion;Ljava/lang/String;Ljava/nio/file/Path;ILjava/lang/Object;)Lcom/pinterest/ktlint/rule/engine/api/Code;
public final fun fromStdin ()Lcom/pinterest/ktlint/rule/engine/api/Code;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class Code private constructor(
public fun fromSnippet(
content: String,
script: Boolean = false,
debugFilename: String? = null
debugFilename: String? = null,
): Code =
Code(
content = content,
Expand Down

0 comments on commit f23550b

Please sign in to comment.