ocaml-google-app/doc/html/ocaml-google-apps/GoogleApps/File/index.html

2 lines
6.4 KiB
HTML
Raw Normal View History

2020-08-26 01:44:00 +00:00
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>File (ocaml-google-apps.GoogleApps.File)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">ocaml-google-apps</a> &#x00BB; <a href="../index.html">GoogleApps</a> &#x00BB; File</nav><h1>Module <code>GoogleApps.File</code></h1><p>Files in Google Drive.</p></header><dl><dt class="spec type" id="type-folder"><a href="#type-folder" class="anchor"></a><code><span class="keyword">type</span> folder</code></dt></dl><dl><dt class="spec value" id="val-get_folder_by_id"><a href="#val-get_folder_by_id" class="anchor"></a><code><span class="keyword">val</span> get_folder_by_id : string <span>&#45;&gt;</span> <a href="index.html#type-folder">folder</a></code></dt></dl><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt></dl><dl><dt class="spec value" id="val-t_of_js"><a href="#val-t_of_js" class="anchor"></a><code><span class="keyword">val</span> t_of_js : Ojs.t <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_file_by_id"><a href="#val-get_file_by_id" class="anchor"></a><code><span class="keyword">val</span> get_file_by_id : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_id"><a href="#val-get_id" class="anchor"></a><code><span class="keyword">val</span> get_id : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-get_name"><a href="#val-get_name" class="anchor"></a><code><span class="keyword">val</span> get_name : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-get_size"><a href="#val-get_size" class="anchor"></a><code><span class="keyword">val</span> get_size : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-make_copy"><a href="#val-make_copy" class="anchor"></a><code><span class="keyword">val</span> make_copy : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>name:string</span> <span>&#45;&gt;</span> <span>folder:<a href="index.html#type-folder">folder</a></span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-set_content"><a href="#val-set_content" class="anchor"></a><code><span class="keyword">val</span> set_content : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>content:string</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt></dl><dl><dt class="spec type" id="type-iterator"><a href="#type-iterator" class="anchor"></a><code><span class="keyword">type</span> iterator</code></dt><dd><p>An iterator that allows scripts to iterate over a potentially large collection of <a href="index.html#type-t"><code>File.t</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-get_files"><a href="#val-get_files" class="anchor"></a><code><span class="keyword">val</span> get_files : unit <span>&#45;&gt;</span> <a href="index.html#type-iterator">iterator</a></code></dt><dd><dl><dt>returns</dt><dd><p>a <span class="xref-unresolved" title="unresolved reference to &quot;FileIterator.t&quot;"><code>FileIterator</code>.t</span> for all files of the drive</p></dd></dl></dd></dl><dl><dt class="spec value" id="val-has_next"><a href="#val-has_next" class="anchor"></a><code><span class="keyword">val</span> has_next : <a href="index.html#type-iterator">iterator</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-next"><a href="#val-next" class="anchor"></a><code><span class="keyword">val</span> next : <a href="index.html#type-iterator">iterator</a> <span>&#45;&gt;</span> <a href=