summaryrefslogtreecommitdiffstats
path: root/doc/classes/Git/Status.src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Git/Status.src')
-rw-r--r--doc/classes/Git/Status.src/M000005.html19
-rw-r--r--doc/classes/Git/Status.src/M000006.html18
-rw-r--r--doc/classes/Git/Status.src/M000007.html18
-rw-r--r--doc/classes/Git/Status.src/M000008.html18
-rw-r--r--doc/classes/Git/Status.src/M000009.html18
-rw-r--r--doc/classes/Git/Status.src/M000010.html29
-rw-r--r--doc/classes/Git/Status.src/M000011.html18
-rw-r--r--doc/classes/Git/Status.src/M000012.html20
8 files changed, 158 insertions, 0 deletions
diff --git a/doc/classes/Git/Status.src/M000005.html b/doc/classes/Git/Status.src/M000005.html
new file mode 100644
index 0000000..7a61284
--- /dev/null
+++ b/doc/classes/Git/Status.src/M000005.html
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+ <title>new (Git::Status)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/git/status.rb, line 9</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">base</span>)
+ <span class="ruby-ivar">@base</span> = <span class="ruby-identifier">base</span>
+ <span class="ruby-identifier">construct_status</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/classes/Git/Status.src/M000006.html b/doc/classes/Git/Status.src/M000006.html
new file mode 100644
index 0000000..cefe7e6
--- /dev/null
+++ b/doc/classes/Git/Status.src/M000006.html
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+ <title>changed (Git::Status)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/git/status.rb, line 14</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">changed</span>
+ <span class="ruby-ivar">@files</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'M'</span> }
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/classes/Git/Status.src/M000007.html b/doc/classes/Git/Status.src/M000007.html
new file mode 100644
index 0000000..09fd966
--- /dev/null
+++ b/doc/classes/Git/Status.src/M000007.html
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+ <title>added (Git::Status)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/git/status.rb, line 18</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">added</span>
+ <span class="ruby-ivar">@files</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'A'</span> }
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/classes/Git/Status.src/M000008.html b/doc/classes/Git/Status.src/M000008.html
new file mode 100644
index 0000000..67834e4
--- /dev/null
+++ b/doc/classes/Git/Status.src/M000008.html
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+ <title>deleted (Git::Status)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/git/status.rb, line 22</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deleted</span>
+ <span class="ruby-ivar">@files</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">type</span> <span class="ruby-operator">==</span> <span class="ruby-value str">'D'</span> }
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/classes/Git/Status.src/M000009.html b/doc/classes/Git/Status.src/M000009.html
new file mode 100644
index 0000000..d3bf8f1
--- /dev/null
+++ b/doc/classes/Git/Status.src/M000009.html
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+ <title>untracked (Git::Status)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/git/status.rb, line 26</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">untracked</span>
+ <span class="ruby-ivar">@files</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">untracked</span> }
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/classes/Git/Status.src/M000010.html b/doc/classes/Git/Status.src/M000010.html
new file mode 100644
index 0000000..cd8897e
--- /dev/null
+++ b/doc/classes/Git/Status.src/M000010.html
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+ <title>pretty (Git::Status)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/git/status.rb, line 30</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pretty</span>
+ <span class="ruby-identifier">out</span> = <span class="ruby-value str">''</span>
+ <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
+ <span class="ruby-identifier">out</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">path</span>
+ <span class="ruby-identifier">out</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n\tsha(r) &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">sha_repo</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">+</span> <span class="ruby-value str">' '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">mode_repo</span>.<span class="ruby-identifier">to_s</span>
+ <span class="ruby-identifier">out</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n\tsha(i) &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">sha_index</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-operator">+</span> <span class="ruby-value str">' '</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">mode_index</span>.<span class="ruby-identifier">to_s</span>
+ <span class="ruby-identifier">out</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n\ttype &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">type</span>.<span class="ruby-identifier">to_s</span>
+ <span class="ruby-identifier">out</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n\tstage &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">stage</span>.<span class="ruby-identifier">to_s</span>
+ <span class="ruby-identifier">out</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n\tuntrac &quot;</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">untracked</span>.<span class="ruby-identifier">to_s</span>
+ <span class="ruby-identifier">out</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-identifier">out</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;\n&quot;</span>
+ <span class="ruby-identifier">out</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/classes/Git/Status.src/M000011.html b/doc/classes/Git/Status.src/M000011.html
new file mode 100644
index 0000000..146326a
--- /dev/null
+++ b/doc/classes/Git/Status.src/M000011.html
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+ <title>[] (Git::Status)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/git/status.rb, line 47</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">file</span>)
+ <span class="ruby-ivar">@files</span>[<span class="ruby-identifier">file</span>]
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html> \ No newline at end of file
diff --git a/doc/classes/Git/Status.src/M000012.html b/doc/classes/Git/Status.src/M000012.html
new file mode 100644
index 0000000..03b742b
--- /dev/null
+++ b/doc/classes/Git/Status.src/M000012.html
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+ <title>each (Git::Status)</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+ <pre><span class="ruby-comment cmt"># File lib/git/status.rb, line 51</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
+ <span class="ruby-ivar">@files</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>, <span class="ruby-identifier">file</span><span class="ruby-operator">|</span>
+ <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">file</span>
+ <span class="ruby-keyword kw">end</span>
+ <span class="ruby-keyword kw">end</span></pre>
+</body>
+</html> \ No newline at end of file