Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
suphon-t committed Jan 10, 2024
1 parent 23989c3 commit 695013b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions DotLocal/Sudo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
}
}
}
Expand Down

0 comments on commit 695013b

Please sign in to comment.