Avatar
omochimetaru 9/18/2024 3:16 AM
@swift-main @swift-6.0.3 @swift-5.10.1 import Foundation let a = URL(fileURLWithPath: "common.ts") let dir = a.deletingLastPathComponent() let dirPath = dir.relativePath print("dirPath='\(dirPath)'")