Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  FileUtilityNull.swift   Sprache: JAVA

 

import FileUtility
import Foundation

final class FileUtilityNull: FileUtilityProtocol {
    init() { /* no-op */ }

    var appCachesDirectory: URL? { nil }
    var appDocumentsDirectory: URL? { nil }
    var appTemporaryDirectory: URL { .temporaryDirectory }
    var appTemporaryUnencryptedDirectory: URL { appTemporaryDirectory }

    func appDataDirectory(appGroupID: String) -> URL? { nil }
    func attributesOfFileSystem(forPath path: String) throws -> [FileAttributeKey: Any] { [:] }
    func backup(of namePrefixes: [String], exclude: Bool, appGroupID: String) throws { /* no-op */ }
    func cleanTemporaryDirectory(olderThan: Date?) { /* no-op */ }
    func contentsOfDirectory(atPath path: String) throws -> [String] { [] }
    func contentsOfDirectory(
        at url: URL,
        includingPropertiesForKeys keys: [URLResourceKey]?,
        options mask: FileManager.DirectoryEnumerationOptions
    ) throws -> [URL] {
        []
    }

    func copy(from sourceURL: URL, to destinationURL: URL) throws { /* no-op */ }
    func createEmptyFile(atURL url: URL) throws { /* no-op */ }
    func createFile(
        atPath path: String,
        contents data: Data?,
        attributes attr: [FileAttributeKey: Any]?
    ) -> Bool { false }
    func createFileHandle(forReadingFromURL url: URL) throws -> FileHandle { FileHandle.nullDevice }
    func createFileHandle(forWritingToURL url: URL) throws -> FileHandle { FileHandle.nullDevice }
    func closeFileHandle(_ fileHandle: FileHandle) throws { /* no-op */ }
    func delete(at sourceURL: URL) throws { /* no-op */ }
    func delete(atPath path: String) throws { /* no-op */ }
    func deleteIfExists(at sourceURL: URL?) { /* no-op */ }
    func dir(at sourceURL: URL?) -> [URL]? { nil }
    func enumerator(atPath path: String) -> FileManager.DirectoryEnumerator? { nil }
    func fileExists(at fileURL: URL?) -> Bool { false }
    func fileExists(atPath path: String) -> Bool { false }
    func fileSizeInBytes(fileURL: URL) -> Int64? { nil }
    func freeDiskSpaceInBytes() -> Int64 { 0 }
    func getFileSizeDescription(for fileURL: URL) -> String? { nil }
    func getFileSizeDescription(from fileSize: Int64) -> String { "" }
    func getTemporaryFileName() -> String { "" }
    func getTemporarySendableFileName(base: String) -> String { "" }
    func getTemporarySendableFileName(base: String, directoryURL: URL, pathExtension: String?) -> String { "" }
    func getUniqueFilename(from filename: String, directoryURL: URL, pathExtension: String?) -> String { "" }
    func isDeletableFile(atPath path: String) -> Bool { false }
    func logDirectoriesAndFiles(pathURL: URL) { /* no-op */ }
    func mergeContentsOfPath(from sourceURL: URL, to destinationURL: URL) throws { /* no-op */ }
    func mkDir(
        at url: URL,
        withIntermediateDirectories createIntermediates: Bool,
        attributes: [FileAttributeKey: Any]?
    ) throws { /* no-op */ }
    func mkDir(
        atPath path: String,
        withIntermediateDirectories createIntermediates: Bool,
        attributes: [FileAttributeKey: Any]?
    ) throws { /* no-op */ }
    func move(from sourceURL: URL, to destinationURL: URL) throws { /* no-op */ }
    func move(fromPath srcPath: String, toPath dstPath: String) throws { /* no-op */ }
    func pathSizeInBytes(pathURL: URL, size: inout Int64) { /* no-op */ }
    func read(fileURL: URL?) -> Data? { nil }
    func read(offset: UInt64?, length: UInt64?, from fileHandle: FileHandle, fileURL: URL) throws -> Data { Data() }
    func removeItemsInAllDirectories(appGroupID: String) { /* no-op */ }
    func removeItemsInDirectory(directoryURL: URL) { /* no-op */ }
    func replaceFile(from sourceURL: URL, to destinationURL: URL) throws { /* no-op */ }
    func updateProtectionFormCompleteToCompleteUntilFirstUserAuthentication(at directoryURL: URL) { /* no-op */ }
    func write(contents: Data?, to fileURL: URL?) -> Bool { false }
    func write(contents: Data, offset: UInt64?, to fileHandle: FileHandle, fileURL: URL) throws { /* no-op */ }
}

Messung
CHZG
829710093

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-04) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1104852
#Domains=417136