Avatar
Avatar
omochimetaru
@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)'")
swift510 BOT 9/18/2024 3:16 AM
dirPath='.'