//
//  URL+Extension.swift
//  Lanu
//
//  Created by OneeChan on 2025/12/4.
//

import Foundation


extension URL {
    static var documentsDir: URL = {
        FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first!
    }()
    
    static var cacheDir: URL = {
        FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask).first!
    }()
    
    static var rootDir: URL = {
        cacheDir.deletingLastPathComponent().deletingLastPathComponent()
    }()
}
