blob: ae5301e762ba1104485feb7012a100ededc1b0da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package org.jetbrains.dokka
import com.google.inject.Inject
import com.google.inject.name.Named
import java.io.File
//
//class FoldersLocationService @Inject constructor(@Named("outputDir") val rootFile: File, val extension: String) : FileLocationService {
// constructor(root: String): this(File(root), "")
//
// override val root: Location
// get() = FileLocation(rootFile)
//
// override fun withExtension(newExtension: String): FileLocationService {
// return if (extension.isEmpty()) FoldersLocationService(rootFile, newExtension) else this
// }
//
// override fun location(qualifiedName: List<String>, hasMembers: Boolean): FileLocation {
// return FileLocation(File(rootFile, relativePathToNode(qualifiedName, hasMembers)).appendExtension(extension))
// }
//}
|