OpenRepoFile class
仓库内的文件/目录(relPath 相对仓库根,已归一化)。
不带尾斜杠:由上层再确认目标是文件还是目录。
fragment 是 a.html#sec2 里那一段(已解码,不含 #):上层打开目标时把它
交给预览的落位(DOM 路径 #id),「第 5 章第 2 节」才落得到节。null = 链接
没带片段。
- Inheritance
-
- Object
- MarkdownLinkAction
- OpenRepoFile
Constructors
- OpenRepoFile(String relPath, {String? fragment})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited