@@ -76,25 +76,25 @@ You can use this as simple as using the TireMap.
7676
7777### API
7878
79- - ** put_replace ** :put the value into stablememory,use key to index
79+ - ** put ** :put the value into stablememory,use key to index
8080
81- Suitable for a single file block, if you add it again with the same key, it will overwrite the previous file
81+ if you add it again with the same key, it will overwrite the previous file
8282
8383 ``` motoko
84- public func put_replace (key: Text, value : Blob): Result.Result<(), Error>
84+ public func put (key: Text, value : Blob): Result.Result<(), Error>
8585 ```
8686
8787 tips: you can transform any type T to Text by using `` debug_show(t: T) ``
8888
89- - ** put_append ** :put the value into stablememory,use key to index
89+ - ** append ** :put the value into stablememory,use key to index
9090
91- Suitable for multiple file blocks, if added again with the same key, it will be merged with the previous file block
91+ if added again with the same key, it will be merged with the previous file block
9292
9393 ``` motoko
94- public func put_append (key: Text, value : Blob): Result.Result<(), Error>
94+ public func append (key: Text, value : Blob): Result.Result<(), Error>
9595 ```
9696
97- tips: you can transform any type T to Text by using ``debug_show(t: T)`
97+ tips: you can transform any type T to Text by using `` debug_show(t: T) ``
9898
9999- ** get** : use the key to get the value
100100
@@ -136,25 +136,25 @@ Due to the problem of IC mainnet, HTTP-StreamingCallback cannot work at present,
136136
137137### API
138138
139- - ** put_replace ** :put the value into stablememory,use key to index
139+ - ** put ** :put the value into stablememory,use key to index
140140
141- Suitable for a single file block, if you add it again with the same key, it will overwrite the previous file
141+ if you add it again with the same key, it will overwrite the previous file
142142
143143 ``` motoko
144- public func put_replace (key: Text, value : Blob): Result.Result<(), Error>
144+ public func put (key: Text, value : Blob): Result.Result<(), Error>
145145 ```
146146
147147 tips: you can transform any type T to Text by using `` debug_show(t: T) ``
148148
149- - ** put_append ** :put the value into stablememory,use key to index
149+ - ** append ** :put the value into stablememory,use key to index
150150
151- Suitable for multiple file blocks, if added again with the same key, it will be merged with the previous file block
151+ if added again with the same key, it will be merged with the previous file block
152152
153153 ``` motoko
154- public func put_append (key: Text, value : Blob): Result.Result<(), Error>
154+ public func append (key: Text, value : Blob): Result.Result<(), Error>
155155 ```
156156
157- tips: you can transform any type T to Text by using ``debug_show(t: T)`
157+ tips: you can transform any type T to Text by using `` debug_show(t: T) ``
158158
159159- ** get** : use the key to get the value
160160
0 commit comments