From 648ffe8ed6630d736fdf7aa51114374885587ea8 Mon Sep 17 00:00:00 2001 From: Anthony Mills Date: Sun, 20 May 2018 22:12:53 +1000 Subject: [PATCH] Updated the accepted forms that a files.add method can take after pull request ipfs/interface-ipfs-core/pull/245 --- SPEC/FILES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SPEC/FILES.md b/SPEC/FILES.md index b339d806f..a00a6f595 100644 --- a/SPEC/FILES.md +++ b/SPEC/FILES.md @@ -39,6 +39,8 @@ Where `data` may be: - a [`Buffer instance`][b] - a [`Readable Stream`][rs] - a [`Pull Stream`][ps] +- a [`File System Path`] (caveat: will only work in Node.js) +- a [`URL`] - an array of objects, each of the form: ```JavaScript {