use file absolute path instead of name at file signature
This commit is contained in:
parent
6db0adced8
commit
3fdce65fe0
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import java.io.File
|
|||
|
||||
fun String.getFileSignature(): ObjectKey {
|
||||
val file = File(this)
|
||||
return ObjectKey("${file.name}${file.lastModified()}")
|
||||
return ObjectKey("${file.absolutePath}${file.lastModified()}")
|
||||
}
|
||||
|
||||
fun String.isThisOrParentIncluded(includedPaths: MutableSet<String>) = includedPaths.any { startsWith(it, true) }
|
||||
|
|
Loading…
Reference in a new issue