From 695013ba35ccc5fd54ff99f9e01f412008ab171d Mon Sep 17 00:00:00 2001 From: Suphon Thanakornpakapong <8080853+suphon-t@users.noreply.github.com> Date: Wed, 10 Jan 2024 15:22:23 +0700 Subject: [PATCH] chore: remove unused code --- DotLocal/Sudo.swift | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/DotLocal/Sudo.swift b/DotLocal/Sudo.swift index 67e0f81..28a435a 100644 --- a/DotLocal/Sudo.swift +++ b/DotLocal/Sudo.swift @@ -80,16 +80,6 @@ public struct Sudo { // Convert the data to a string (adjust the encoding as needed) fileContent = String(data: content, encoding: .utf8) ?? "" - // let bufferSize = 1024 - // print("1") - // guard let _read = file._read else { - // print("???") - // return - // } - // print("2") - // var buffer = [CChar](repeating: 0, count: Int(bufferSize)) - // _read(&file, &buffer, Int32(bufferSize)) - // print("got \(buffer)") } } }