Class FileSystemNode
Inheritance
FileSystemNode
Assembly: Ipfs.Http.Client.dll
Syntax
[DataContract]
public class FileSystemNode : IFileSystemNode, IMerkleNode<IFileSystemLink>, IDataBlock
Properties
|
Improve this Doc
View Source
DataBytes
Declaration
public byte[] DataBytes { get; }
Property Value
|
Improve this Doc
View Source
DataStream
Declaration
public Stream DataStream { get; }
Property Value
|
Improve this Doc
View Source
Id
Declaration
[DataMember]
public Cid Id { get; set; }
Property Value
|
Improve this Doc
View Source
IpfsClient
Declaration
public IpfsClient IpfsClient { get; set; }
Property Value
Type |
Description |
IpfsClient |
Used to fetch additional information on the node.
|
|
Improve this Doc
View Source
IsDirectory
Determines if the link is a directory (folder).
Declaration
[DataMember]
public bool IsDirectory { get; set; }
Property Value
Type |
Description |
Boolean |
true if the link is a directory; Otherwise false,
the link is some type of a file.
|
|
Improve this Doc
View Source
Links
Declaration
[DataMember]
public IEnumerable<IFileSystemLink> Links { get; set; }
Property Value
|
Improve this Doc
View Source
Name
The file name of the IPFS node.
Declaration
[DataMember]
public string Name { get; set; }
Property Value
|
Improve this Doc
View Source
Size
Size of the file contents.
Declaration
[DataMember]
public long Size { get; set; }
Property Value
Type |
Description |
Int64 |
This is the size of the file not the raw encoded contents
of the block.
|
Methods
|
Improve this Doc
View Source
ToLink(String)
Declaration
public IFileSystemLink ToLink(string name = "")
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Implements