AlgoDataObject

public class AlgoDataObject

Base object to file and directory

  • Undocumented

    See more

    Declaration

    Swift

    public class AlgoDataObject
  • Undocumented

    See more

    Declaration

    Swift

    public class AlgoDataObject
  • Undocumented

    Declaration

    Swift

    public class AlgoDataObject
  • Check if file exists

    Declaration

    Swift

    public func exists(completion:@escaping (Bool,Error?)-> Void)

    Parameters

    completion

    completion handler

  • Return parent directory object. It return nil if this is root directory

    Declaration

    Swift

    public func parent() -> AlgoDataDirectory?

    Return Value

    Directory object

  • Return name of File/Directory object

    Declaration

    Swift

    public func basename() -> String

    Return Value

    name of file/directory

  • Return full path of File/Directory. e.g., data://.my/foo/bar.txt

    Declaration

    Swift

    public func toDataURI() -> String

    Return Value

    full path of File/Directory

  • Undocumented

    See more

    Declaration

    Swift

    public class AlgoDataObject