Show / Hide Table of Contents

Class RepositoryOptions

Configuration options for the repository.

Inheritance
Object
RepositoryOptions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Ipfs.Engine
Assembly: Ipfs.Engine.dll
Syntax
public class RepositoryOptions

Constructors

| Improve this Doc View Source

RepositoryOptions()

Creates a new instance of the RepositoryOptions class with the default values.

Declaration
public RepositoryOptions()

Properties

| Improve this Doc View Source

Folder

The directory of the repository.

Declaration
public string Folder { get; set; }
Property Value
Type Description
String

The default value is $IPFS_PATH or $HOME/.csipfs or $HOMEPATH/.csipfs.

Methods

| Improve this Doc View Source

ExistingFolder()

Get the existing directory of the repository.

Declaration
public string ExistingFolder()
Returns
Type Description
String

An existing directory.

Remarks

Creates the Folder if it does not exist.

See Also

IpfsEngineOptions
  • Improve this Doc
  • View Source
Back to top Generated by DocFX