Struct IPFSFile
_10pub struct IPFSFile {_10_10    pub let cid: String_10_10    pub let path: String?_10}
View to expose a file stored on IPFS. IPFS images are referenced by their content identifier (CID) rather than a direct URI. A client application can use this CID to find and load the image via an IPFS gateway.
Implemented Interfaces:
- File
Initializer
_10init(cid: String, path: String?)
Functions
uri()
_10fun uri(): String
This function returns the IPFS native URL for this file. Ref: https://docs.ipfs.io/how-to/address-ipfs-on-web/#native-urls
Returns: The string containing the file uri