From 87c84585e04933d056eb7913e8c6a81abca4ffa6 Mon Sep 17 00:00:00 2001 From: Anass Bouassaba Date: Sat, 26 Oct 2024 21:00:51 +0200 Subject: [PATCH] refactor(misc): function comment --- api/infra/file_identifier.go | 2 +- conversion/identifier/file_identifier.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/infra/file_identifier.go b/api/infra/file_identifier.go index b8d92843f..9233eb157 100644 --- a/api/infra/file_identifier.go +++ b/api/infra/file_identifier.go @@ -209,7 +209,7 @@ type GLTF struct { } `json:"buffers"` } -// IsGLTF Inspects a ZIP archive to see if it contains a glTF 2.0 structure. +// IsGLTF inspects a ZIP archive to see if it contains a glTF 2.0 structure. func (fi *FileIdentifier) IsGLTF(path string) (bool, error) { zipFile, err := zip.OpenReader(path) if err != nil { diff --git a/conversion/identifier/file_identifier.go b/conversion/identifier/file_identifier.go index b9ffee050..aa9f2ff28 100644 --- a/conversion/identifier/file_identifier.go +++ b/conversion/identifier/file_identifier.go @@ -226,7 +226,7 @@ type GLTF struct { } `json:"buffers"` } -// IsGLTF Inspects a ZIP archive to see if it contains a glTF 2.0 structure. +// IsGLTF inspects a ZIP archive to see if it contains a glTF 2.0 structure. func (fi *FileIdentifier) IsGLTF(path string) (bool, error) { zipFile, err := zip.OpenReader(path) if err != nil {