Skip to content

Inconsistent file metadata value #2172

Description

@chinyeungli

For the .kotlin_module file, I believe this is a binary file, so is_text should be set to False and is_binary to True, which is correct in SCTK.

  "files": [
    {
      "path": "wisp-logging.kotlin_module",
      "type": "file",
      "name": "wisp-logging.kotlin_module",
      "base_name": "wisp-logging",
      "extension": ".kotlin_module",
      "size": 51,
      "date": "1980-01-31",
      "sha1": "d42d499d7a0dc593b505e40e5cf88c134ba369cd",
      "md5": "5c21479c92f9a0c17d94cb32332f0ac1",
      "sha256": "7e326e0855b42d282ee50be30c1f18b56a57f6e61f1ed28a415f04b006e855a5",
      "sha1_git": "d0e1fcf3513e6931d604e6f9d2b69ec83cd79e07",
      "mime_type": "application/octet-stream",
      "file_type": "data",
      "programming_language": null,
      "is_binary": true,
      "is_text": false,
      "is_archive": false,
      "is_media": false,
      "is_source": false,
      "is_script": false,
      "files_count": 0,
      "dirs_count": 0,
      "size_count": 0,
      "scan_errors": []
    }
  ]

However, it is not the case in SCIO

Image

Test file:
wisp-logging-2025.11.11.195957-97a44b0.jar/META-INF/wisp-logging.kotlin_module
(https://repo1.maven.org/maven2/app/cash/wisp/wisp-logging/2025.11.11.195957-97a44b0/wisp-logging-2025.11.11.195957-97a44b0.jar)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions