From 6cc1acece019b9987e36fe6342a2a0374e575187 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Thu, 16 Feb 2017 23:14:23 +0800 Subject: [PATCH] Add file and system doc --- docs/api/file.md | 4 ++++ docs/api/system.md | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/docs/api/file.md b/docs/api/file.md index 0a757b21f..7ad8b90ca 100644 --- a/docs/api/file.md +++ b/docs/api/file.md @@ -4,4 +4,8 @@ title: "file api" ## values +name | values | description +----- |:----:| ------------------ +separator | `/` or `\\` | the separator based on the os + ## functions diff --git a/docs/api/system.md b/docs/api/system.md index a5129aec8..c484cc12a 100644 --- a/docs/api/system.md +++ b/docs/api/system.md @@ -4,4 +4,10 @@ title: "system api" ## values +name | values | description +----- |:----:| ------------------ +isWindows | 0 or 1 | check if the os is windows +isLinux | 0 or 1 | check if the os is linux +isOSX | 0 or 1 | check if the os is OSX + ## functions