Show / Hide Table of Contents

Class FileSystemNode

Inheritance
Object
FileSystemNode
Implements
IFileSystemNode
IMerkleNode<IFileSystemLink>
IDataBlock
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Ipfs.Http
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
Type Description
Byte[]
| Improve this Doc View Source

DataStream

Declaration
public Stream DataStream { get; }
Property Value
Type Description
Stream
| Improve this Doc View Source

Id

Declaration
[DataMember]
public Cid Id { get; set; }
Property Value
Type Description
Cid
| Improve this Doc View Source

IpfsClient

The client to IPFS.

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
Type Description
IEnumerable<IFileSystemLink>
| Improve this Doc View Source

Name

The file name of the IPFS node.

Declaration
[DataMember]
public string Name { get; set; }
Property Value
Type Description
String
| 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
Type Description
IFileSystemLink

Implements

IFileSystemNode
IMerkleNode<Link>
IDataBlock
  • Improve this Doc
  • View Source
Back to top Generated by DocFX